Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001589/0.001589, allocations: 108 kB / 15.6 MB, free: 132 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.001815/0.001816, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 482.6 MB / 0.7548 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 64.34 kB / 0.9241 GB, free: 29.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3343, allocations: 162.3 MB / 1.083 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008474/0.3428, allocations: 6.087 MB / 1.089 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005337/0.3481, allocations: 3.137 MB / 1.092 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004183/0.3486, allocations: 31.81 kB / 1.092 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.351, allocations: 0.9251 MB / 1.093 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.3522, allocations: 477.5 kB / 1.093 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3534, allocations: 494 kB / 1.093 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.3546, allocations: 1.092 MB / 1.095 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009382/0.3556, allocations: 0.643 MB / 1.095 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.3561, allocations: 434.4 kB / 1.096 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005967/0.3568, allocations: 478.2 kB / 1.096 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.104e-05/0.3569, allocations: 56 kB / 1.096 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008582/0.3577, allocations: 479 kB / 1.097 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.358, allocations: 291.2 kB / 1.097 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.3584, allocations: 397.9 kB / 1.097 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.3597, allocations: 1.168 MB / 1.098 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3598, allocations: 7.938 kB / 1.098 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3598, allocations: 0 / 1.098 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3598, allocations: 0 / 1.098 GB, free: 12.79 MB / 0.8575 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.001659/0.3615, allocations: 1.048 MB / 1.099 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3615, allocations: 16.03 kB / 1.099 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.363, allocations: 211.7 kB / 1.1 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/0.3638, allocations: 0.5376 MB / 1.1 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.005e-05/0.3638, allocations: 41.69 kB / 1.1 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.3639, allocations: 64.36 kB / 1.1 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3654, allocations: 1.041 MB / 1.101 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.3655, allocations: 11.91 kB / 1.101 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.3655, allocations: 27.94 kB / 1.101 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.3657, allocations: 69.27 kB / 1.101 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.3667, allocations: 0.6918 MB / 1.102 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/0.3723, allocations: 5.756 MB / 1.108 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.3732, allocations: 0.594 MB / 1.108 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008038/0.3741, allocations: 424.6 kB / 1.109 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-05/0.3741, allocations: 4 kB / 1.109 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.3742, allocations: 38.56 kB / 1.109 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.3742, allocations: 0 / 1.109 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.004643/0.3788, allocations: 2.054 MB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.3789, allocations: 55.41 kB / 1.111 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.3794, allocations: 458.7 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.3795, allocations: 33.7 kB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.3798, allocations: 387.1 kB / 1.112 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.3799, allocations: 153.8 kB / 1.112 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.3801, allocations: 106.2 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.3803, allocations: 366.8 kB / 1.112 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.3807, allocations: 245.2 kB / 1.112 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.3812, allocations: 457 kB / 1.113 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000997/0.3822, allocations: 0.7597 MB / 1.114 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3823, allocations: 4 kB / 1.114 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001921/0.3842, allocations: 1.062 MB / 1.115 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3842, allocations: 8 kB / 1.115 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3842, allocations: 8 kB / 1.115 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.3853, allocations: 331.3 kB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3856, allocations: 103.8 kB / 1.115 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008095/0.3937, allocations: 7.512 MB / 1.122 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.3942, allocations: 36.02 kB / 1.122 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.3942, allocations: 27.94 kB / 1.122 GB, free: 2.488 MB / 0.8731 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.0003474/0.3946, allocations: 245.6 kB / 1.123 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3947, allocations: 59.28 kB / 1.123 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.3965, allocations: 0.9197 MB / 1.124 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3965, allocations: 4 kB / 1.124 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3965, allocations: 4 kB / 1.124 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3966, allocations: 4 kB / 1.124 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.3994, allocations: 1.698 MB / 1.125 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3995, allocations: 12.19 kB / 1.125 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.3997, allocations: 39.91 kB / 1.125 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.4007, allocations: 331.2 kB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/0.4007, allocations: 12 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007897/0.4086, allocations: 7.505 MB / 1.133 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.4087, allocations: 4 kB / 1.133 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.4105, allocations: 1.008 MB / 1.134 GB, free: 5.918 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.4108, allocations: 168.4 kB / 1.134 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.4109, allocations: 15.91 kB / 1.134 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.4112, allocations: 19.97 kB / 1.134 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.4113, allocations: 51.83 kB / 1.134 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.4113, allocations: 8 kB / 1.134 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003721/0.4117, allocations: 310.9 kB / 1.135 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4117, allocations: 0 / 1.135 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007824/0.4125, allocations: 195.9 kB / 1.135 GB, free: 5.148 MB / 0.8887 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.0001858/0.4127, allocations: 118.4 kB / 1.135 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.4147, allocations: 1.239 MB / 1.136 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4147, allocations: 0 / 1.136 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.416, allocations: 0.8738 MB / 1.137 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.417, allocations: 205.2 kB / 1.137 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.4191, allocations: 1.246 MB / 1.138 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.4198, allocations: 0.9921 MB / 1.139 GB, free: 320 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002929/0.4201, allocations: 97.17 kB / 1.139 GB, free: 220 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.4202, allocations: 35.44 kB / 1.139 GB, free: 184 kB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/0.4202, allocations: 0 / 1.139 GB, free: 184 kB / 0.8887 GB Notification: Performance of Templates: time 0.01876/0.4389, allocations: 9.956 MB / 1.149 GB, free: 6.32 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches