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.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.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.001606/0.001606, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001682/0.001683, allocations: 194.8 kB / 16.25 MB, free: 6.641 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.772/1.772, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.32/3.32, allocations: 461.9 MB / 0.7344 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 69.91 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02896/0.3454, allocations: 14.71 MB / 1.067 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0246/0.37, allocations: 10.25 MB / 1.077 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.372, allocations: 51.62 kB / 1.077 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005176/0.3773, allocations: 1.588 MB / 1.078 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.3823, allocations: 1.628 MB / 1.08 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.3844, allocations: 0.6895 MB / 1.081 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003832/0.3882, allocations: 2.758 MB / 1.083 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.3907, allocations: 1.582 MB / 1.085 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.393, allocations: 1.515 MB / 1.086 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.3951, allocations: 1.206 MB / 1.088 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004788/0.3956, allocations: 160 kB / 1.088 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.3974, allocations: 0.7838 MB / 1.088 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008276/0.3982, allocations: 0.6154 MB / 1.089 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.3998, allocations: 0.9522 MB / 1.09 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.4037, allocations: 2.772 MB / 1.093 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4038, allocations: 3.984 kB / 1.093 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4038, allocations: 0 / 1.093 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.718e-05/0.4039, allocations: 4 kB / 1.093 GB, free: 15.21 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.004611/0.4085, allocations: 2.179 MB / 1.095 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4085, allocations: 8.625 kB / 1.095 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003229/0.4089, allocations: 190.4 kB / 1.095 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.4207, allocations: 2.108 MB / 1.097 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.4235, allocations: 1.213 MB / 1.098 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.4236, allocations: 86.69 kB / 1.098 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004591/0.4241, allocations: 119.9 kB / 1.098 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006289/0.4304, allocations: 2.672 MB / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.4305, allocations: 15.84 kB / 1.101 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/0.4308, allocations: 51.97 kB / 1.101 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00069/0.4314, allocations: 194.1 kB / 1.101 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008495/0.44, allocations: 2.791 MB / 1.104 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/0.4585, allocations: 10.5 MB / 1.114 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006578/0.4651, allocations: 2.34 MB / 1.117 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/0.4683, allocations: 1.272 MB / 1.118 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.4684, allocations: 13 kB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.4685, allocations: 43.56 kB / 1.118 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=89): time 3.056e-06/0.4685, allocations: 0 / 1.118 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of matching and sorting (n=153): time 0.05874/0.5272, allocations: 16.48 MB / 1.134 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.5273, allocations: 64.72 kB / 1.134 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.529, allocations: 1.184 MB / 1.135 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.5292, allocations: 49.7 kB / 1.135 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/0.5297, allocations: 0.7437 MB / 1.136 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004772/0.5301, allocations: 0.512 MB / 1.136 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000576/0.5307, allocations: 295.5 kB / 1.137 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.5308, allocations: 305.1 kB / 1.137 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.5342, allocations: 1.506 MB / 1.139 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/0.5377, allocations: 1.788 MB / 1.14 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/0.5449, allocations: 3.369 MB / 1.144 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.5449, allocations: 0 / 1.144 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01343/0.5584, allocations: 5.272 MB / 1.149 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.5584, allocations: 10.5 kB / 1.149 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.5584, allocations: 8 kB / 1.149 GB, free: 4.504 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006996/0.5654, allocations: 1.89 MB / 1.151 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.5675, allocations: 419.2 kB / 1.151 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02939/0.5969, allocations: 24.15 MB / 1.175 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.5998, allocations: 303.5 kB / 1.175 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.6001, allocations: 75.95 kB / 1.175 GB, free: 8.543 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.001075/0.6012, allocations: 465.4 kB / 1.175 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/0.6018, allocations: 173.9 kB / 1.176 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/0.6164, allocations: 5.324 MB / 1.181 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.6165, allocations: 12 kB / 1.181 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.823e-05/0.6165, allocations: 24 kB / 1.181 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/0.6166, allocations: 8.531 kB / 1.181 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/0.6337, allocations: 7.434 MB / 1.188 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.6337, allocations: 4 kB / 1.188 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/0.6354, allocations: 351.4 kB / 1.188 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00639/0.6418, allocations: 1.72 MB / 1.19 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/0.6421, allocations: 47.91 kB / 1.19 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02741/0.6695, allocations: 23.32 MB / 1.213 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6695, allocations: 4.031 kB / 1.213 GB, free: 364 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/0.6822, allocations: 4.885 MB / 1.218 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.6833, allocations: 494.7 kB / 1.218 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.6837, allocations: 27.98 kB / 1.218 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/0.6859, allocations: 319.5 kB / 1.218 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005012/0.6864, allocations: 153 kB / 1.219 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/0.6866, allocations: 51.97 kB / 1.219 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001098/0.6877, allocations: 0.7977 MB / 1.219 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6877, allocations: 0 / 1.219 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002636/0.6903, allocations: 0.6562 MB / 1.22 GB, free: 8.883 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.0122/0.7025, allocations: 5.469 MB / 1.225 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01172/0.7143, allocations: 5.429 MB / 1.231 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.7143, allocations: 7.938 kB / 1.231 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007488/0.7218, allocations: 3.359 MB / 1.234 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.7249, allocations: 0.5522 MB / 1.235 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0515/0.7764, allocations: 23.61 MB / 1.258 GB, free: 1.301 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4096/1.186, allocations: 1.558 MB / 1.259 GB, free: 192.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001579/1.188, allocations: 384.6 kB / 1.259 GB, free: 192.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/1.188, allocations: 0.6587 MB / 1.26 GB, free: 192.6 MB / 1.014 GB Notification: Performance of SimCode: time 6.62e-07/1.188, allocations: 0 / 1.26 GB, free: 192.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.6/6.789, allocations: 58.42 MB / 1.317 GB, free: 168.3 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/6.789, allocations: 258.8 kB / 1.317 GB, free: 168.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.37/12.16, allocations: 2.5 kB / 1.317 GB, free: 168.1 MB / 1.014 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