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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004979/0.00498, allocations: 102 kB / 15.73 MB, free: 6.035 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.00114/0.00114, allocations: 199.5 kB / 16.68 MB, free: 5.957 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.18/2.18, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7605/0.7618, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006283/0.7681, allocations: 6.813 MB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00399/0.7721, allocations: 3.067 MB / 1.097 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.7723, allocations: 27.75 kB / 1.097 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.7746, allocations: 0.9488 MB / 1.098 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008487/0.7754, allocations: 0.5016 MB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008589/0.7763, allocations: 444.2 kB / 1.099 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.7774, allocations: 1.233 MB / 1.1 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008268/0.7783, allocations: 0.6561 MB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.7788, allocations: 483.4 kB / 1.101 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.7794, allocations: 0.519 MB / 1.102 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.7795, allocations: 66.97 kB / 1.102 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.7801, allocations: 378.4 kB / 1.102 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.7804, allocations: 310.3 kB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.7809, allocations: 456.5 kB / 1.103 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.7822, allocations: 1.216 MB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7822, allocations: 1.156 kB / 1.104 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7822, allocations: 4 kB / 1.104 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.7822, allocations: 0 / 1.104 GB, free: 11.26 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.001686/0.7839, allocations: 1.17 MB / 1.105 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.784, allocations: 8.812 kB / 1.105 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.7841, allocations: 123.3 kB / 1.105 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.7855, allocations: 240 kB / 1.106 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/0.7864, allocations: 0.6044 MB / 1.106 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.7865, allocations: 54.95 kB / 1.106 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-05/0.7866, allocations: 57.5 kB / 1.106 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.788, allocations: 1.086 MB / 1.107 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.788, allocations: 6.156 kB / 1.107 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/0.7881, allocations: 30.03 kB / 1.107 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/0.7882, allocations: 83.81 kB / 1.107 GB, free: 9.234 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.7893, allocations: 0.7535 MB / 1.108 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/0.7939, allocations: 5.881 MB / 1.114 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009944/0.7949, allocations: 0.5623 MB / 1.115 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.7954, allocations: 325.8 kB / 1.115 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.7954, allocations: 4.219 kB / 1.115 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.7955, allocations: 39.98 kB / 1.115 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 1.443e-06/0.7955, allocations: 0 / 1.115 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003487/0.799, allocations: 1.992 MB / 1.117 GB, free: 2.492 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.799, allocations: 58.23 kB / 1.117 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.7996, allocations: 0.5588 MB / 1.117 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.7996, allocations: 32.42 kB / 1.117 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.7999, allocations: 423.3 kB / 1.118 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.8, allocations: 170 kB / 1.118 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.8002, allocations: 130.6 kB / 1.118 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.8003, allocations: 374.4 kB / 1.119 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.8007, allocations: 274.4 kB / 1.119 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.8012, allocations: 497.8 kB / 1.119 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000907/0.8021, allocations: 0.8105 MB / 1.12 GB, free: 244 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8021, allocations: 2.781 kB / 1.12 GB, free: 244 kB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001644/0.8038, allocations: 1.091 MB / 1.121 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.8038, allocations: 15.34 kB / 1.121 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.8038, allocations: 6.625 kB / 1.121 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/0.8046, allocations: 273.7 kB / 1.121 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.805, allocations: 128.4 kB / 1.122 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.8108, allocations: 7.133 MB / 1.128 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.8113, allocations: 35.75 kB / 1.129 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.8114, allocations: 32.23 kB / 1.129 GB, free: 9.418 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.0003252/0.8117, allocations: 252.3 kB / 1.129 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.8118, allocations: 72.41 kB / 1.129 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.8133, allocations: 0.8898 MB / 1.13 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.8133, allocations: 9.297 kB / 1.13 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.8133, allocations: 11 kB / 1.13 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8133, allocations: 2.297 kB / 1.13 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.8158, allocations: 1.725 MB / 1.131 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.8159, allocations: 11.09 kB / 1.131 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.8161, allocations: 59.05 kB / 1.131 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006997/0.8168, allocations: 262.6 kB / 1.132 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.8169, allocations: 11.5 kB / 1.132 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005719/0.8226, allocations: 7.116 MB / 1.139 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8226, allocations: 3.531 kB / 1.139 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.8241, allocations: 0.9897 MB / 1.14 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.8244, allocations: 190.8 kB / 1.14 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.8245, allocations: 16.03 kB / 1.14 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/0.8248, allocations: 30.95 kB / 1.14 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.8249, allocations: 41.66 kB / 1.14 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.825, allocations: 14.28 kB / 1.14 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004199/0.8254, allocations: 389.7 kB / 1.14 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8254, allocations: 0 / 1.14 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007674/0.8262, allocations: 224.8 kB / 1.141 GB, free: 0.6875 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.001635/0.8278, allocations: 1.543 MB / 1.142 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.8297, allocations: 1.278 MB / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8297, allocations: 5.375 kB / 1.143 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.8308, allocations: 0.8918 MB / 1.144 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009769/0.8318, allocations: 223.4 kB / 1.144 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.8397, allocations: 6.39 MB / 1.151 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.8403, allocations: 1.009 MB / 1.152 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000361/0.8407, allocations: 123.1 kB / 1.152 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.841, allocations: 250.2 kB / 1.152 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/0.841, allocations: 0 / 1.152 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6322/1.473, allocations: 17.8 MB / 1.169 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/12.29, allocations: 11.27 kB / 1.169 GB, free: 2.863 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > 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/jenkins1/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