Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007587/0.007588, allocations: 97.27 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.4/2.4, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9527/0.954, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007924/0.9619, allocations: 6.811 MB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005667/0.9676, allocations: 3.066 MB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007098/0.9684, allocations: 28.12 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.9711, allocations: 0.946 MB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.9727, allocations: 0.5295 MB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.974, allocations: 443.6 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.9757, allocations: 1.229 MB / 1.101 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.9767, allocations: 0.6594 MB / 1.101 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008286/0.9776, allocations: 487.1 kB / 1.102 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.9784, allocations: 0.5147 MB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.9785, allocations: 67.28 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009151/0.9794, allocations: 378.2 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.9799, allocations: 307.5 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006076/0.9805, allocations: 456.2 kB / 1.103 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.9824, allocations: 1.222 MB / 1.105 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9824, allocations: 1.125 kB / 1.105 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9824, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.586e-05/0.9824, allocations: 0.5625 kB / 1.105 GB, free: 11.48 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002161/0.9846, allocations: 1.195 MB / 1.106 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.9847, allocations: 10.44 kB / 1.106 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.9863, allocations: 243 kB / 1.106 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.9874, allocations: 0.6125 MB / 1.107 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.9874, allocations: 47.77 kB / 1.107 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.9876, allocations: 70.34 kB / 1.107 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.9892, allocations: 1.084 MB / 1.108 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.9893, allocations: 8.266 kB / 1.108 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.9894, allocations: 28.83 kB / 1.108 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/0.9895, allocations: 84.67 kB / 1.108 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.9909, allocations: 0.7498 MB / 1.109 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006364/0.9973, allocations: 5.898 MB / 1.114 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.9986, allocations: 0.5549 MB / 1.115 GB, free: 3.973 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.999, allocations: 325 kB / 1.115 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.9991, allocations: 5.656 kB / 1.115 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.9991, allocations: 37.16 kB / 1.115 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.434e-06/0.9991, allocations: 5.062 kB / 1.115 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004285/1.003, allocations: 1.998 MB / 1.117 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/1.003, allocations: 57.06 kB / 1.117 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/1.004, allocations: 0.564 MB / 1.118 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/1.004, allocations: 32.42 kB / 1.118 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/1.005, allocations: 432.4 kB / 1.118 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/1.005, allocations: 176.5 kB / 1.118 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002309/1.005, allocations: 132.9 kB / 1.119 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.005, allocations: 378.2 kB / 1.119 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/1.006, allocations: 270 kB / 1.119 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/1.006, allocations: 494.8 kB / 1.12 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/1.008, allocations: 0.8112 MB / 1.12 GB, free: 480 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.008, allocations: 5.438 kB / 1.12 GB, free: 476 kB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002089/1.01, allocations: 1.097 MB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.01, allocations: 7.438 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/1.01, allocations: 7.062 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009915/1.011, allocations: 274.2 kB / 1.122 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/1.011, allocations: 127.9 kB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00748/1.019, allocations: 7.137 MB / 1.129 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/1.02, allocations: 39.39 kB / 1.129 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/1.02, allocations: 28.56 kB / 1.129 GB, free: 9.641 MB / 0.8887 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004951/1.02, allocations: 255.2 kB / 1.129 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.02, allocations: 76.81 kB / 1.129 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/1.022, allocations: 0.8888 MB / 1.13 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.022, allocations: 3.781 kB / 1.13 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.022, allocations: 8.156 kB / 1.13 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.022, allocations: 3.609 kB / 1.13 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/1.026, allocations: 1.723 MB / 1.132 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.026, allocations: 1.156 kB / 1.132 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/1.026, allocations: 63.88 kB / 1.132 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009218/1.027, allocations: 278.2 kB / 1.132 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/1.027, allocations: 8.641 kB / 1.132 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007443/1.034, allocations: 7.124 MB / 1.139 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.034, allocations: 1.531 kB / 1.139 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/1.036, allocations: 0.9962 MB / 1.14 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/1.037, allocations: 198.9 kB / 1.14 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/1.037, allocations: 8.328 kB / 1.14 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/1.037, allocations: 34.03 kB / 1.14 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.038, allocations: 41.28 kB / 1.14 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/1.038, allocations: 15.09 kB / 1.14 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006102/1.038, allocations: 389.9 kB / 1.141 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.5e-07/1.038, allocations: 0 / 1.141 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001129/1.039, allocations: 224.8 kB / 1.141 GB, free: 0.8906 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/1.04, allocations: 115.4 kB / 1.141 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002429/1.042, allocations: 1.278 MB / 1.142 GB, free: 40 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.042, allocations: 0 / 1.142 GB, free: 40 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/1.044, allocations: 0.8982 MB / 1.143 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/1.045, allocations: 221.6 kB / 1.143 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/1.048, allocations: 1.361 MB / 1.145 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/1.049, allocations: 1.01 MB / 1.146 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000512/1.05, allocations: 117.9 kB / 1.146 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/1.05, allocations: 42.47 kB / 1.146 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/1.05, allocations: 4 kB / 1.146 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.02634/1.076, allocations: 11.32 MB / 1.157 GB, free: 10.85 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches