Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001087/0.001087, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001488/0.001488, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.2 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.222/3.222, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004162, allocations: 13.3 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3769, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008926/0.3859, allocations: 6.059 MB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005214/0.3912, allocations: 2.901 MB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007922/0.392, allocations: 23.81 kB / 1.067 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.3926, allocations: 130.9 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.3941, allocations: 417.7 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.3952, allocations: 331.3 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.3971, allocations: 1.333 MB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.399, allocations: 0.9382 MB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008667/0.3999, allocations: 390.4 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009286/0.4009, allocations: 486.2 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.401, allocations: 32 kB / 1.071 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007302/0.4018, allocations: 187.8 kB / 1.071 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.4022, allocations: 271.2 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.4025, allocations: 177.3 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.4037, allocations: 0.908 MB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4037, allocations: 0 / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4037, allocations: 0 / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.463e-05/0.4037, allocations: 4 kB / 1.072 GB, free: 6.77 MB / 0.8262 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.002537/0.4063, allocations: 1.009 MB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.4063, allocations: 12.03 kB / 1.073 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.4091, allocations: 238.7 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.4102, allocations: 0.5443 MB / 1.074 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/0.4103, allocations: 45.3 kB / 1.074 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.4105, allocations: 67.98 kB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.4124, allocations: 1.081 MB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.4124, allocations: 7.938 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.4125, allocations: 31.98 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.4127, allocations: 85.25 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.414, allocations: 0.7426 MB / 1.076 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006048/0.4201, allocations: 5.909 MB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.4211, allocations: 0.5438 MB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.4216, allocations: 330 kB / 1.083 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.4217, allocations: 8.422 kB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.4218, allocations: 39 kB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 5.1e-06/0.4218, allocations: 7.922 kB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48): time 0.004478/0.4263, allocations: 1.99 MB / 1.085 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4263, allocations: 55.84 kB / 1.085 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/0.4272, allocations: 0.5626 MB / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.4273, allocations: 33.7 kB / 1.085 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.4276, allocations: 418.9 kB / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.4278, allocations: 173.5 kB / 1.086 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.4278, allocations: 12 kB / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.428, allocations: 374.8 kB / 1.086 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.4285, allocations: 273.8 kB / 1.086 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005868/0.4291, allocations: 493 kB / 1.087 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.4297, allocations: 342 kB / 1.087 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4297, allocations: 4 kB / 1.087 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00221/0.432, allocations: 1.082 MB / 1.088 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/0.432, allocations: 8.875 kB / 1.088 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.432, allocations: 8 kB / 1.088 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008822/0.4329, allocations: 283.2 kB / 1.089 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005031/0.4334, allocations: 127.7 kB / 1.089 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006793/0.4402, allocations: 6.583 MB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007004/0.441, allocations: 39.95 kB / 1.095 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-05/0.4411, allocations: 31.98 kB / 1.095 GB, free: 13.79 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005818/0.4417, allocations: 258.1 kB / 1.095 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.4419, allocations: 71.16 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.4438, allocations: 0.8809 MB / 1.096 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.4438, allocations: 8.031 kB / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/0.4439, allocations: 4 kB / 1.096 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4439, allocations: 7.984 kB / 1.096 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.4473, allocations: 1.724 MB / 1.098 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.4474, allocations: 0 / 1.098 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.4477, allocations: 59.89 kB / 1.098 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000882/0.4486, allocations: 271.4 kB / 1.098 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.4486, allocations: 8 kB / 1.098 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008083/0.4567, allocations: 6.579 MB / 1.105 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4568, allocations: 4.031 kB / 1.105 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.4586, allocations: 0.9838 MB / 1.106 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.459, allocations: 196.3 kB / 1.106 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.4592, allocations: 11.98 kB / 1.106 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.4596, allocations: 27.97 kB / 1.106 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.4597, allocations: 55.83 kB / 1.106 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.4597, allocations: 15.94 kB / 1.106 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005269/0.4603, allocations: 383.1 kB / 1.106 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4603, allocations: 0 / 1.106 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009752/0.4613, allocations: 224 kB / 1.107 GB, free: 1.316 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002312/0.4615, allocations: 119.2 kB / 1.107 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002277/0.4638, allocations: 1.264 MB / 1.108 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4638, allocations: 0 / 1.108 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.4651, allocations: 0.8932 MB / 1.109 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4663, allocations: 207.6 kB / 1.109 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.4689, allocations: 1.594 MB / 1.111 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/0.4697, allocations: 1.013 MB / 1.112 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004809/0.4701, allocations: 114 kB / 1.112 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.4703, allocations: 47.44 kB / 1.112 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of SimCode: time 9.72e-07/0.4703, allocations: 0 / 1.112 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.02061/0.4909, allocations: 10.29 MB / 1.122 GB, free: 1.723 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches