Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.00139/0.00139, 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.001783/0.001783, allocations: 194.1 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5912, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03186/0.6231, allocations: 30.79 MB / 1.047 GB, free: 3.555 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.6423, allocations: 13.58 MB / 1.061 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.6453, allocations: 143.2 kB / 1.061 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007568/0.6529, allocations: 3.201 MB / 1.064 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006758/0.6597, allocations: 2.657 MB / 1.067 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004674/0.6644, allocations: 2.003 MB / 1.069 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008682/0.6731, allocations: 7.622 MB / 1.076 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009463/0.6826, allocations: 8.28 MB / 1.084 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004719/0.6873, allocations: 3.4 MB / 1.087 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004557/0.6919, allocations: 3.387 MB / 1.091 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.693, allocations: 0.5938 MB / 1.091 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.6961, allocations: 1.494 MB / 1.093 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.6983, allocations: 2.366 MB / 1.095 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003486/0.7018, allocations: 2.886 MB / 1.098 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008834/0.7106, allocations: 9.391 MB / 1.107 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7106, allocations: 0 / 1.107 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7107, allocations: 0 / 1.107 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002315/0.7109, allocations: 8 kB / 1.107 GB, free: 6.273 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009794/0.7207, allocations: 5.136 MB / 1.112 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.7208, allocations: 8.031 kB / 1.112 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008154/0.7216, allocations: 0.6164 MB / 1.113 GB, free: 432 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005545/0.7271, allocations: 0.998 MB / 1.114 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005069/0.7322, allocations: 2.896 MB / 1.116 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.7324, allocations: 312.8 kB / 1.117 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006721/0.7331, allocations: 431.8 kB / 1.117 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.7432, allocations: 6.787 MB / 1.124 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.7434, allocations: 19.84 kB / 1.124 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004314/0.7438, allocations: 192 kB / 1.124 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009019/0.7447, allocations: 368 kB / 1.124 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008362/0.7531, allocations: 5.114 MB / 1.129 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02975/0.7829, allocations: 30.74 MB / 1.159 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.7848, allocations: 1.391 MB / 1.161 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.7864, allocations: 1.32 MB / 1.162 GB, free: 10.71 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.52e-05/0.7865, allocations: 17.31 kB / 1.162 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.7865, allocations: 55.86 kB / 1.162 GB, free: 10.62 MB / 0.92 GB Notification: Performance of pre-optimization done (n=130): time 3.005e-06/0.7865, allocations: 0 / 1.162 GB, free: 10.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=199): time 0.09156/0.8781, allocations: 23.07 MB / 1.185 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.8782, allocations: 73.41 kB / 1.185 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.8811, allocations: 2.062 MB / 1.187 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.8813, allocations: 57.7 kB / 1.187 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.8826, allocations: 2.014 MB / 1.189 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006281/0.8832, allocations: 0.6778 MB / 1.189 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007643/0.884, allocations: 412.1 kB / 1.19 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.8841, allocations: 309.1 kB / 1.19 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.8862, allocations: 1.433 MB / 1.191 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.8885, allocations: 2.01 MB / 1.193 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004734/0.8933, allocations: 3.692 MB / 1.197 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.8933, allocations: 11.98 kB / 1.197 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01116/0.9045, allocations: 5.65 MB / 1.203 GB, free: 408 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.9046, allocations: 12 kB / 1.203 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/0.9046, allocations: 24.12 kB / 1.203 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00697/0.9116, allocations: 2.099 MB / 1.205 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.9131, allocations: 379.3 kB / 1.205 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03849/0.9516, allocations: 38.46 MB / 1.243 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002929/0.9546, allocations: 131.9 kB / 1.243 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004508/0.9551, allocations: 84 kB / 1.243 GB, free: 4.633 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002665/0.9578, allocations: 1.513 MB / 1.244 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007053/0.9585, allocations: 284.6 kB / 1.245 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4562/1.415, allocations: 5.204 MB / 1.25 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.415, allocations: 21.22 kB / 1.25 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-05/1.415, allocations: 21.25 kB / 1.25 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/1.415, allocations: 9.797 kB / 1.25 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/1.434, allocations: 9.68 MB / 1.259 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/1.434, allocations: 6.625 kB / 1.259 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.435, allocations: 216.5 kB / 1.259 GB, free: 205.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006413/1.442, allocations: 1.857 MB / 1.261 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/1.442, allocations: 38.38 kB / 1.261 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02931/1.471, allocations: 37.47 MB / 1.298 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.471, allocations: 15.38 kB / 1.298 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007962/1.479, allocations: 4.904 MB / 1.303 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.481, allocations: 0.6207 MB / 1.303 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004478/1.481, allocations: 46.8 kB / 1.303 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.483, allocations: 128.8 kB / 1.303 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005898/1.483, allocations: 191.4 kB / 1.304 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.483, allocations: 57.83 kB / 1.304 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001727/1.485, allocations: 1.377 MB / 1.305 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.485, allocations: 0 / 1.305 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002745/1.488, allocations: 1.047 MB / 1.306 GB, free: 171.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007358/1.495, allocations: 5.538 MB / 1.311 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009212/1.504, allocations: 7.215 MB / 1.318 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.504, allocations: 4 kB / 1.318 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/1.51, allocations: 4.387 MB / 1.323 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.513, allocations: 0.9861 MB / 1.324 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/1.554, allocations: 34.12 MB / 1.357 GB, free: 122 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/1.556, allocations: 3.127 MB / 1.36 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001824/1.558, allocations: 0.5198 MB / 1.361 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/1.56, allocations: 1.675 MB / 1.362 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.56, allocations: 0 / 1.362 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/1.72, allocations: 89.25 MB / 1.449 GB, free: 28.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/13.23, allocations: 8.016 kB / 1.449 GB, free: 28.46 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches