Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.0007471/0.0007472, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004733/0.004733, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.196/1.196, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.401/2.401, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 14.5 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2275, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01383/0.2413, allocations: 14.14 MB / 1.073 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.2538, allocations: 10.24 MB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009224/0.2547, allocations: 47.69 kB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007591/0.2555, allocations: 298 kB / 1.083 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003595/0.2591, allocations: 1.603 MB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.2605, allocations: 0.6898 MB / 1.085 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.2635, allocations: 3.394 MB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.2662, allocations: 1.99 MB / 1.09 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.2675, allocations: 1.324 MB / 1.092 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.2686, allocations: 1.085 MB / 1.093 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.2687, allocations: 72 kB / 1.093 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.2699, allocations: 0.8577 MB / 1.094 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003947/0.2703, allocations: 0.5021 MB / 1.094 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000671/0.271, allocations: 0.8563 MB / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.273, allocations: 2.67 MB / 1.098 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.273, allocations: 0 / 1.098 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.223e-06/0.273, allocations: 0 / 1.098 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.273, allocations: 0 / 1.098 GB, free: 12.95 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002739/0.2758, allocations: 1.839 MB / 1.099 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2758, allocations: 8.031 kB / 1.099 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.276, allocations: 198.3 kB / 1.1 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.2872, allocations: 2.167 MB / 1.102 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.289, allocations: 1.217 MB / 1.103 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.2891, allocations: 86.69 kB / 1.103 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.2893, allocations: 119.8 kB / 1.103 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005068/0.2944, allocations: 2.694 MB / 1.106 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.2944, allocations: 7.938 kB / 1.106 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.2946, allocations: 59.92 kB / 1.106 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005916/0.2952, allocations: 194.1 kB / 1.106 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007118/0.3023, allocations: 2.846 MB / 1.109 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.3147, allocations: 10.55 MB / 1.119 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006293/0.321, allocations: 2.387 MB / 1.121 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/0.3239, allocations: 1.295 MB / 1.123 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.324, allocations: 13 kB / 1.123 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.324, allocations: 47.5 kB / 1.123 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 2.144e-06/0.324, allocations: 4 kB / 1.123 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of matching and sorting (n=153): time 0.05539/0.3794, allocations: 16.53 MB / 1.139 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3795, allocations: 68.72 kB / 1.139 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.3807, allocations: 1.176 MB / 1.14 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.3809, allocations: 53.64 kB / 1.14 GB, free: 312 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.3814, allocations: 0.7514 MB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.3818, allocations: 0.5159 MB / 1.141 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.382, allocations: 117.7 kB / 1.141 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.3821, allocations: 305.1 kB / 1.142 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/0.3855, allocations: 1.53 MB / 1.143 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003558/0.3891, allocations: 1.807 MB / 1.145 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/0.396, allocations: 3.408 MB / 1.148 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3961, allocations: 4 kB / 1.148 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01247/0.4085, allocations: 5.319 MB / 1.154 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4086, allocations: 9.875 kB / 1.154 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4086, allocations: 4.875 kB / 1.154 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006253/0.4148, allocations: 1.888 MB / 1.155 GB, free: 388 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.4167, allocations: 423.3 kB / 1.156 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02509/0.4418, allocations: 22.2 MB / 1.178 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.444, allocations: 323.5 kB / 1.178 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.4442, allocations: 63.97 kB / 1.178 GB, free: 8.324 MB / 0.9356 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006737/0.4449, allocations: 469.5 kB / 1.178 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.4451, allocations: 177.9 kB / 1.178 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/0.4582, allocations: 5.355 MB / 1.184 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4583, allocations: 16 kB / 1.184 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.932e-05/0.4583, allocations: 19.98 kB / 1.184 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.4583, allocations: 11.92 kB / 1.184 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.4734, allocations: 7.476 MB / 1.191 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4734, allocations: 0 / 1.191 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.4751, allocations: 371.7 kB / 1.191 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005525/0.4806, allocations: 1.703 MB / 1.193 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.4808, allocations: 39.97 kB / 1.193 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/0.5044, allocations: 21.38 MB / 1.214 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5044, allocations: 4 kB / 1.214 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/0.5158, allocations: 4.933 MB / 1.219 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/0.5165, allocations: 490.8 kB / 1.219 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.5167, allocations: 35.98 kB / 1.219 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.5188, allocations: 331.5 kB / 1.22 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/0.5191, allocations: 145 kB / 1.22 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.5193, allocations: 59.97 kB / 1.22 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008794/0.5201, allocations: 0.7899 MB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5201, allocations: 0 / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001434/0.5216, allocations: 0.6562 MB / 1.221 GB, free: 10.53 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/0.5335, allocations: 5.522 MB / 1.227 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01022/0.5438, allocations: 5.167 MB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5438, allocations: 0 / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006344/0.5501, allocations: 3.378 MB / 1.235 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.5526, allocations: 0.5089 MB / 1.235 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4268/0.9794, allocations: 23.75 MB / 1.259 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.9805, allocations: 1.566 MB / 1.26 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001547/0.9821, allocations: 387.2 kB / 1.261 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000754/0.9829, allocations: 0.656 MB / 1.261 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.9829, allocations: 0.7188 kB / 1.261 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.314/6.297, allocations: 55.56 MB / 1.315 GB, free: 141 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/6.297, allocations: 256.6 kB / 1.316 GB, free: 140.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/9.605, allocations: 0 / 1.316 GB, free: 140.8 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches