Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.589/2.589, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.8294, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006997/0.8365, allocations: 6.079 MB / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004783/0.8413, allocations: 3.145 MB / 0.9586 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.842, allocations: 32.56 kB / 0.9586 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.8442, allocations: 0.9348 MB / 0.9595 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.8456, allocations: 471 kB / 0.96 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.8468, allocations: 490.5 kB / 0.9605 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.8481, allocations: 1.099 MB / 0.9615 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000988/0.8491, allocations: 0.6436 MB / 0.9622 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007982/0.85, allocations: 430.2 kB / 0.9626 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.8506, allocations: 469.7 kB / 0.963 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.8507, allocations: 58.53 kB / 0.9631 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.8518, allocations: 494.1 kB / 0.9635 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.8521, allocations: 281.6 kB / 0.9638 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004563/0.8525, allocations: 404.2 kB / 0.9642 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.8541, allocations: 1.158 MB / 0.9653 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8541, allocations: 0 / 0.9653 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8541, allocations: 1.312 kB / 0.9653 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.8541, allocations: 0 / 0.9653 GB, free: 13.51 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00188/0.856, allocations: 1.06 MB / 0.9664 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.8561, allocations: 9.938 kB / 0.9664 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.8577, allocations: 217.2 kB / 0.9666 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.8586, allocations: 0.5397 MB / 0.9671 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.8586, allocations: 50.11 kB / 0.9672 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.8587, allocations: 61.14 kB / 0.9672 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.8603, allocations: 1.031 MB / 0.9682 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.8603, allocations: 14.45 kB / 0.9682 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.8604, allocations: 33.52 kB / 0.9683 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.16e-05/0.8605, allocations: 61.91 kB / 0.9683 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.8615, allocations: 0.6907 MB / 0.969 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0052/0.8668, allocations: 5.747 MB / 0.9746 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008736/0.8677, allocations: 0.6025 MB / 0.9752 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.8685, allocations: 424 kB / 0.9756 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.8685, allocations: 3.75 kB / 0.9756 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.8686, allocations: 41.12 kB / 0.9756 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 3.587e-06/0.8686, allocations: 4 kB / 0.9756 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004581/0.8732, allocations: 2.048 MB / 0.9776 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.8732, allocations: 62.89 kB / 0.9777 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.8738, allocations: 454.6 kB / 0.9781 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.8738, allocations: 30.73 kB / 0.9782 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.8741, allocations: 389.6 kB / 0.9785 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.8742, allocations: 141 kB / 0.9787 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.8744, allocations: 116.6 kB / 0.9788 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8745, allocations: 368.2 kB / 0.9791 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.8749, allocations: 247.5 kB / 0.9794 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.8753, allocations: 456.5 kB / 0.9798 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.8763, allocations: 0.7471 MB / 0.9805 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.8763, allocations: 0 / 0.9805 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001817/0.8781, allocations: 1.07 MB / 0.9816 GB, free: 36 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.8781, allocations: 8 kB / 0.9816 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8781, allocations: 8 kB / 0.9816 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.8792, allocations: 331.5 kB / 0.9819 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.8795, allocations: 99.81 kB / 0.982 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007113/0.8866, allocations: 7.529 MB / 0.9894 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/0.8873, allocations: 32.02 kB / 0.9894 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.8873, allocations: 24 kB / 0.9894 GB, free: 7.441 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004277/0.8878, allocations: 249.5 kB / 0.9897 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.8879, allocations: 59.28 kB / 0.9897 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.8896, allocations: 0.9154 MB / 0.9906 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.8896, allocations: 4 kB / 0.9906 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8896, allocations: 8 kB / 0.9906 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.8897, allocations: 4 kB / 0.9906 GB, free: 6.176 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.8924, allocations: 1.708 MB / 0.9923 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.8925, allocations: 0 / 0.9923 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.8926, allocations: 39.97 kB / 0.9923 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009429/0.8936, allocations: 327.1 kB / 0.9926 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.8936, allocations: 8.281 kB / 0.9926 GB, free: 4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007704/0.9013, allocations: 7.514 MB / 1 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9014, allocations: 0 / 1 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.9035, allocations: 1.018 MB / 1.001 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.9038, allocations: 176.3 kB / 1.001 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.9039, allocations: 8 kB / 1.001 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.9042, allocations: 27.97 kB / 1.001 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.9044, allocations: 35.95 kB / 1.001 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.9044, allocations: 12 kB / 1.001 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004705/0.9049, allocations: 306.9 kB / 1.002 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9049, allocations: 0 / 1.002 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001222/0.9061, allocations: 199.9 kB / 1.002 GB, free: 10.09 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002274/0.9064, allocations: 111.2 kB / 1.002 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.9084, allocations: 1.234 MB / 1.003 GB, free: 8.691 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9084, allocations: 128 / 1.003 GB, free: 8.691 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.9096, allocations: 0.8734 MB / 1.004 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.9107, allocations: 192.3 kB / 1.004 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.9131, allocations: 1.253 MB / 1.005 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007567/0.9139, allocations: 0.9882 MB / 1.006 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003511/0.9142, allocations: 101.2 kB / 1.006 GB, free: 5.168 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.9143, allocations: 35.44 kB / 1.006 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of SimCode: time 1.263e-06/0.9143, allocations: 0 / 1.006 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of Templates: time 0.01835/0.9327, allocations: 9.949 MB / 1.016 GB, free: 11.29 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches