Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001081/0.001081, allocations: 192.9 kB / 16.13 MB, free: 6.645 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.288/1.288, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.8687 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5125, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03558/0.5481, allocations: 34.82 MB / 1.051 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.5627, allocations: 9.898 MB / 1.06 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.565, allocations: 131.2 kB / 1.061 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007922/0.573, allocations: 3.553 MB / 1.064 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.5777, allocations: 1.913 MB / 1.066 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.5816, allocations: 1.781 MB / 1.068 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.5919, allocations: 11.2 MB / 1.079 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01336/0.6053, allocations: 10.71 MB / 1.089 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004096/0.6094, allocations: 2.876 MB / 1.092 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/0.6137, allocations: 3.785 MB / 1.096 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007495/0.6145, allocations: 471.9 kB / 1.096 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.6169, allocations: 1.447 MB / 1.097 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002/0.6189, allocations: 2.393 MB / 1.1 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002912/0.6218, allocations: 2.851 MB / 1.102 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008109/0.63, allocations: 10.19 MB / 1.112 GB, free: 476 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.63, allocations: 0 / 1.112 GB, free: 476 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.976e-06/0.63, allocations: 3.984 kB / 1.112 GB, free: 472 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002063/0.6302, allocations: 0 / 1.112 GB, free: 472 kB / 0.8575 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.008988/0.6392, allocations: 5.397 MB / 1.118 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.6393, allocations: 11.98 kB / 1.118 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009932/0.6403, allocations: 0.7062 MB / 1.118 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006927/0.6472, allocations: 0.9587 MB / 1.119 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00751/0.6548, allocations: 2.991 MB / 1.122 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.6551, allocations: 365.9 kB / 1.123 GB, free: 5.895 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.6563, allocations: 476.2 kB / 1.123 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01923/0.6755, allocations: 7.906 MB / 1.131 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001622/0.6757, allocations: 23.81 kB / 1.131 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009476/0.6767, allocations: 212 kB / 1.131 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007673/0.6775, allocations: 365.1 kB / 1.131 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.6908, allocations: 5.937 MB / 1.137 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03421/0.725, allocations: 36.2 MB / 1.173 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.7282, allocations: 2.138 MB / 1.175 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.7302, allocations: 1.477 MB / 1.176 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.7303, allocations: 25.3 kB / 1.176 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.7304, allocations: 55.81 kB / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=157): time 3.316e-06/0.7304, allocations: 0 / 1.176 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=160): time 0.01819/0.7486, allocations: 7.536 MB / 1.183 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.7487, allocations: 72.66 kB / 1.184 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/0.7529, allocations: 1.864 MB / 1.185 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.7532, allocations: 53.7 kB / 1.185 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/0.755, allocations: 2.123 MB / 1.188 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/0.7558, allocations: 0.5546 MB / 1.188 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009276/0.7567, allocations: 399.7 kB / 1.188 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.7568, allocations: 313.1 kB / 1.189 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.7593, allocations: 1.058 MB / 1.19 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003002/0.7623, allocations: 1.764 MB / 1.191 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00571/0.768, allocations: 3.045 MB / 1.194 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/0.768, allocations: 8 kB / 1.194 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.009445/0.7775, allocations: 3.932 MB / 1.198 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.7775, allocations: 16 kB / 1.198 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/0.7776, allocations: 20 kB / 1.198 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00354/0.7811, allocations: 0.9315 MB / 1.199 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.7835, allocations: 435.2 kB / 1.2 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.8026, allocations: 21.04 MB / 1.22 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.8047, allocations: 127.8 kB / 1.22 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/0.805, allocations: 96 kB / 1.22 GB, free: 11.42 MB / 0.9825 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.002649/0.8077, allocations: 1.65 MB / 1.222 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005586/0.8082, allocations: 249.1 kB / 1.222 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005428/0.8137, allocations: 3.267 MB / 1.225 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.8137, allocations: 16 kB / 1.225 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.92e-05/0.8137, allocations: 12 kB / 1.225 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.8138, allocations: 11.91 kB / 1.226 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.826, allocations: 7.541 MB / 1.233 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.8261, allocations: 8.547 kB / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/0.827, allocations: 211.6 kB / 1.233 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/0.8294, allocations: 0.9042 MB / 1.234 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.8295, allocations: 32 kB / 1.234 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4602/1.29, allocations: 21.01 MB / 1.255 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.29, allocations: 10.62 kB / 1.255 GB, free: 202.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005962/1.296, allocations: 3.378 MB / 1.258 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.297, allocations: 0.5341 MB / 1.258 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005631/1.297, allocations: 36.86 kB / 1.258 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.299, allocations: 90.39 kB / 1.258 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/1.299, allocations: 142.7 kB / 1.259 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/1.299, allocations: 47.27 kB / 1.259 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002104/1.301, allocations: 1.222 MB / 1.26 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.301, allocations: 0.6875 kB / 1.26 GB, free: 200.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003062/1.304, allocations: 0.9077 MB / 1.261 GB, free: 200.6 MB / 0.9981 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.005721/1.31, allocations: 3.979 MB / 1.265 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00571/1.316, allocations: 4.421 MB / 1.269 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.316, allocations: 1.656 kB / 1.269 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003573/1.319, allocations: 2.989 MB / 1.272 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.323, allocations: 0.7606 MB / 1.273 GB, free: 194 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03584/1.359, allocations: 29.53 MB / 1.301 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/1.362, allocations: 3.21 MB / 1.305 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001704/1.363, allocations: 0.5249 MB / 1.305 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/1.365, allocations: 1.652 MB / 1.307 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.365, allocations: 3.938 kB / 1.307 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/1.47, allocations: 69.24 MB / 1.374 GB, free: 104.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001337/1.47, allocations: 247.2 kB / 1.375 GB, free: 103.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/4.492, allocations: 0 / 1.375 GB, free: 103.9 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches