Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001119/0.001119, 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.001569/0.001569, allocations: 195.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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.309/2.309, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6332/0.6344, allocations: 140.3 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03629/0.6707, allocations: 35.13 MB / 0.984 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.6878, allocations: 9.945 MB / 0.9937 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004217/0.692, allocations: 147.3 kB / 0.9939 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009506/0.7016, allocations: 3.801 MB / 0.9976 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006715/0.7083, allocations: 2.032 MB / 0.9996 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004977/0.7133, allocations: 1.962 MB / 1.002 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009159/0.7225, allocations: 7.967 MB / 1.009 GB, free: 4.719 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01255/0.735, allocations: 9.606 MB / 1.019 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0052/0.7403, allocations: 3.35 MB / 1.022 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005989/0.7463, allocations: 3.738 MB / 1.026 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001931/0.7482, allocations: 0.6797 MB / 1.026 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004235/0.7525, allocations: 1.443 MB / 1.028 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.004262/0.7568, allocations: 2.616 MB / 1.03 GB, free: 15.13 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006194/0.763, allocations: 3.108 MB / 1.033 GB, free: 12.01 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.7743, allocations: 10.31 MB / 1.043 GB, free: 1.676 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.7743, allocations: 3.938 kB / 1.043 GB, free: 1.672 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7743, allocations: 0 / 1.043 GB, free: 1.672 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003047/0.7746, allocations: 4 kB / 1.043 GB, free: 1.668 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01254/0.7872, allocations: 5.397 MB / 1.049 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7872, allocations: 12.03 kB / 1.049 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009846/0.7882, allocations: 0.6984 MB / 1.049 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00444/0.7927, allocations: 0.9626 MB / 1.05 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/0.7979, allocations: 2.991 MB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.7981, allocations: 357.9 kB / 1.053 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007385/0.7989, allocations: 472.2 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.8125, allocations: 7.91 MB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.8127, allocations: 23.81 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004958/0.8132, allocations: 208 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005083/0.8137, allocations: 373.1 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009735/0.8235, allocations: 5.937 MB / 1.068 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.8566, allocations: 36.21 MB / 1.103 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.8598, allocations: 2.15 MB / 1.105 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/0.8616, allocations: 1.481 MB / 1.107 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.322e-05/0.8617, allocations: 17.31 kB / 1.107 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.8617, allocations: 55.81 kB / 1.107 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=157): time 4.919e-06/0.8617, allocations: 4 kB / 1.107 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=160): time 0.0135/0.8752, allocations: 7.525 MB / 1.114 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.8753, allocations: 68.72 kB / 1.114 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003355/0.8787, allocations: 1.872 MB / 1.116 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.8788, allocations: 53.7 kB / 1.116 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/0.8803, allocations: 2.123 MB / 1.118 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/0.8808, allocations: 0.5623 MB / 1.119 GB, free: 112 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000757/0.8816, allocations: 400 kB / 1.119 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8817, allocations: 305.1 kB / 1.12 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.8834, allocations: 1.058 MB / 1.121 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002082/0.8855, allocations: 1.764 MB / 1.122 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.8894, allocations: 3.052 MB / 1.125 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.8894, allocations: 4 kB / 1.125 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006772/0.8962, allocations: 3.929 MB / 1.129 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.8962, allocations: 16.22 kB / 1.129 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.8963, allocations: 24 kB / 1.129 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.8986, allocations: 0.935 MB / 1.13 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.9001, allocations: 427.2 kB / 1.131 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/0.9198, allocations: 22.77 MB / 1.153 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/0.9217, allocations: 119.9 kB / 1.153 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/0.9221, allocations: 92 kB / 1.153 GB, free: 10.83 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002725/0.9248, allocations: 1.654 MB / 1.155 GB, free: 9.164 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006472/0.9254, allocations: 253.1 kB / 1.155 GB, free: 8.914 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005509/0.931, allocations: 3.264 MB / 1.158 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.931, allocations: 16 kB / 1.158 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.358e-05/0.931, allocations: 8 kB / 1.158 GB, free: 5.578 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.9311, allocations: 11.91 kB / 1.158 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.9423, allocations: 7.549 MB / 1.165 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.9423, allocations: 4.562 kB / 1.165 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008966/0.9432, allocations: 223.6 kB / 1.166 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.9454, allocations: 0.8882 MB / 1.167 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/0.9456, allocations: 35.98 kB / 1.167 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/0.9646, allocations: 22.74 MB / 1.189 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.9647, allocations: 7.938 kB / 1.189 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.9699, allocations: 3.379 MB / 1.192 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.9709, allocations: 0.5294 MB / 1.193 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.9712, allocations: 39.94 kB / 1.193 GB, free: 156 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.9722, allocations: 87.89 kB / 1.193 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/0.9726, allocations: 144.9 kB / 1.193 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/0.9727, allocations: 48 kB / 1.193 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001567/0.9743, allocations: 1.225 MB / 1.194 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9743, allocations: 0 / 1.194 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002648/0.977, allocations: 0.9023 MB / 1.195 GB, free: 13.74 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.005169/0.9821, allocations: 3.988 MB / 1.199 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007913/0.9901, allocations: 5.201 MB / 1.204 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.9901, allocations: 0 / 1.204 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003927/0.994, allocations: 3 MB / 1.207 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/0.9976, allocations: 0.8219 MB / 1.208 GB, free: 312 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/1.033, allocations: 27.54 MB / 1.235 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003202/1.036, allocations: 3.209 MB / 1.238 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001764/1.038, allocations: 0.5332 MB / 1.238 GB, free: 14.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/1.04, allocations: 1.651 MB / 1.24 GB, free: 13.01 MB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/1.04, allocations: 0 / 1.24 GB, free: 13.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5495/1.589, allocations: 70.88 MB / 1.309 GB, free: 249.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/13.18, allocations: 7.312 kB / 1.309 GB, free: 249.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches