Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_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_latest_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.00122/0.00122, 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.00118/0.00118, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.522/2.522, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 70.7 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2946, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04019/0.3348, allocations: 35.13 MB / 1.087 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.3533, allocations: 9.944 MB / 1.097 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.3572, allocations: 155.2 kB / 1.097 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/0.3675, allocations: 3.798 MB / 1.101 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006279/0.3738, allocations: 2.032 MB / 1.103 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005862/0.3797, allocations: 1.959 MB / 1.105 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.3903, allocations: 7.975 MB / 1.112 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.4042, allocations: 9.585 MB / 1.122 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00629/0.4105, allocations: 3.357 MB / 1.125 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006268/0.4168, allocations: 3.734 MB / 1.129 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001903/0.4188, allocations: 0.6797 MB / 1.129 GB, free: 9.605 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00454/0.4233, allocations: 1.443 MB / 1.131 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004595/0.428, allocations: 2.62 MB / 1.133 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006085/0.4341, allocations: 3.104 MB / 1.136 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.4465, allocations: 10.31 MB / 1.146 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.4466, allocations: 3.984 kB / 1.146 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4466, allocations: 0 / 1.146 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000276/0.4468, allocations: 4 kB / 1.146 GB, free: 8.07 MB / 0.9044 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.01156/0.4584, allocations: 5.398 MB / 1.152 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4585, allocations: 8.625 kB / 1.152 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009312/0.4594, allocations: 0.6984 MB / 1.152 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.4637, allocations: 0.9587 MB / 1.153 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/0.469, allocations: 2.995 MB / 1.156 GB, free: 13.87 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.4693, allocations: 357.9 kB / 1.157 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.4705, allocations: 468.3 kB / 1.157 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/0.4877, allocations: 7.914 MB / 1.165 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/0.4879, allocations: 23.72 kB / 1.165 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/0.489, allocations: 208 kB / 1.165 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005534/0.4896, allocations: 373 kB / 1.165 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.5016, allocations: 5.937 MB / 1.171 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0434/0.5451, allocations: 36.21 MB / 1.207 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.5484, allocations: 2.139 MB / 1.209 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.5504, allocations: 1.477 MB / 1.21 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.684e-05/0.5505, allocations: 21.3 kB / 1.21 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.5506, allocations: 59.81 kB / 1.21 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=157): time 3.296e-06/0.5506, allocations: 0 / 1.21 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=160): time 0.01362/0.5642, allocations: 7.532 MB / 1.218 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5643, allocations: 76.72 kB / 1.218 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.5671, allocations: 1.853 MB / 1.219 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.5673, allocations: 57.7 kB / 1.219 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.5685, allocations: 2.123 MB / 1.222 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/0.569, allocations: 0.5662 MB / 1.222 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006024/0.5696, allocations: 403.7 kB / 1.222 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.5697, allocations: 309 kB / 1.223 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.5712, allocations: 1.058 MB / 1.224 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.5732, allocations: 1.76 MB / 1.226 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00368/0.5769, allocations: 3.052 MB / 1.229 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.5769, allocations: 4 kB / 1.229 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006363/0.5833, allocations: 3.921 MB / 1.232 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.5834, allocations: 16 kB / 1.232 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.5834, allocations: 24 kB / 1.232 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.5858, allocations: 0.9234 MB / 1.233 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.5873, allocations: 435.2 kB / 1.234 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/0.608, allocations: 22.77 MB / 1.256 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.6099, allocations: 119.9 kB / 1.256 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.6103, allocations: 96 kB / 1.256 GB, free: 1.23 MB / 1.014 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.4392/1.049, allocations: 1.645 MB / 1.258 GB, free: 186 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006662/1.05, allocations: 255.2 kB / 1.258 GB, free: 186 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005849/1.056, allocations: 3.268 MB / 1.261 GB, free: 185.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.056, allocations: 14.72 kB / 1.261 GB, free: 185.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.056, allocations: 11.88 kB / 1.261 GB, free: 185.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.056, allocations: 6.703 kB / 1.261 GB, free: 185.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/1.068, allocations: 7.555 MB / 1.269 GB, free: 185.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.068, allocations: 2.781 kB / 1.269 GB, free: 185.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/1.069, allocations: 217.4 kB / 1.269 GB, free: 185.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002179/1.071, allocations: 0.8965 MB / 1.27 GB, free: 185 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/1.071, allocations: 33.97 kB / 1.27 GB, free: 185 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/1.089, allocations: 22.74 MB / 1.292 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.089, allocations: 9.375 kB / 1.292 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005306/1.095, allocations: 3.375 MB / 1.295 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/1.096, allocations: 0.5286 MB / 1.296 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/1.096, allocations: 37.62 kB / 1.296 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.097, allocations: 92.58 kB / 1.296 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/1.097, allocations: 144.9 kB / 1.296 GB, free: 166.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.098, allocations: 47.53 kB / 1.296 GB, free: 166.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001797/1.099, allocations: 1.222 MB / 1.297 GB, free: 166.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.099, allocations: 3.375 kB / 1.297 GB, free: 166.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002925/1.102, allocations: 0.9091 MB / 1.298 GB, free: 166.2 MB / 1.014 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.005259/1.108, allocations: 3.985 MB / 1.302 GB, free: 164.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008118/1.116, allocations: 5.202 MB / 1.307 GB, free: 161.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.116, allocations: 2.281 kB / 1.307 GB, free: 161.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003895/1.12, allocations: 2.992 MB / 1.31 GB, free: 159.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/1.124, allocations: 0.8281 MB / 1.311 GB, free: 159.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/1.16, allocations: 27.55 MB / 1.338 GB, free: 141.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003886/1.164, allocations: 3.208 MB / 1.341 GB, free: 138 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001895/1.166, allocations: 0.5264 MB / 1.341 GB, free: 137.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.168, allocations: 1.651 MB / 1.343 GB, free: 135.8 MB / 1.014 GB Notification: Performance of SimCode: time 8.62e-07/1.168, allocations: 0 / 1.343 GB, free: 135.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7297/1.898, allocations: 70.88 MB / 1.412 GB, free: 65.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/16.19, allocations: 6.906 kB / 1.412 GB, free: 65.81 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches