Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000875/0.000875, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8618/0.8618, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.695/1.695, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.727e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.5614/0.5614, allocations: 155.7 MB / 1.152 GB, free: 2.422 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.5742, allocations: 10.3 MB / 1.162 GB, free: 11.47 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.5758, allocations: 43.44 kB / 1.162 GB, free: 11.45 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.5772, allocations: 432.1 kB / 1.162 GB, free: 11.17 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.5804, allocations: 1.143 MB / 1.163 GB, free: 10.5 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003992/0.5844, allocations: 1.787 MB / 1.165 GB, free: 9.562 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003053/0.5875, allocations: 2.433 MB / 1.167 GB, free: 8.332 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.5893, allocations: 1.064 MB / 1.168 GB, free: 7.781 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004679/0.594, allocations: 1.852 MB / 1.17 GB, free: 6.957 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.5954, allocations: 0.6655 MB / 1.171 GB, free: 6.719 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.5957, allocations: 163 kB / 1.171 GB, free: 6.719 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.5986, allocations: 1.285 MB / 1.172 GB, free: 6.32 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0004732/0.599, allocations: 492.9 kB / 1.173 GB, free: 6.027 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0008859/0.5999, allocations: 0.552 MB / 1.173 GB, free: 5.762 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004516/0.6044, allocations: 2.791 MB / 1.176 GB, free: 4.68 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6045, allocations: 0.5625 kB / 1.176 GB, free: 4.68 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6045, allocations: 1.094 kB / 1.176 GB, free: 4.68 MB / 1.026 GB Notification: Performance of Transformations before backend: time 7.542e-05/0.6045, allocations: 0 / 1.176 GB, free: 4.68 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.003648/0.6082, allocations: 1.898 MB / 1.178 GB, free: 3.465 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.6082, allocations: 13.81 kB / 1.178 GB, free: 3.465 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/0.6084, allocations: 181 kB / 1.178 GB, free: 3.348 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.6101, allocations: 411.5 kB / 1.179 GB, free: 3.238 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.6118, allocations: 0.9226 MB / 1.179 GB, free: 2.695 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.818e-05/0.6119, allocations: 99.52 kB / 1.18 GB, free: 2.648 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.6121, allocations: 124.8 kB / 1.18 GB, free: 2.605 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.614, allocations: 1.707 MB / 1.181 GB, free: 1.547 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.6141, allocations: 0 / 1.181 GB, free: 1.547 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.6141, allocations: 48.16 kB / 1.181 GB, free: 1.512 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.6142, allocations: 28.53 kB / 1.181 GB, free: 1.512 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.6159, allocations: 1.417 MB / 1.183 GB, free: 1.133 MB / 1.026 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.6206, allocations: 3.189 MB / 1.186 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.6222, allocations: 1.111 MB / 1.187 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.6227, allocations: 439.1 kB / 1.187 GB, free: 14.81 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003594/0.6231, allocations: 114.6 kB / 1.187 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009247/0.624, allocations: 0.9006 MB / 1.188 GB, free: 14.25 MB / 1.042 GB Notification: Performance of pre-optimization done (n=114): time 3.507e-06/0.624, allocations: 0 / 1.188 GB, free: 14.25 MB / 1.042 GB Notification: Performance of matching and sorting (n=114): time 0.002824/0.6268, allocations: 1.583 MB / 1.19 GB, free: 13.68 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.6269, allocations: 209.7 kB / 1.19 GB, free: 13.45 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6279, allocations: 0.9007 MB / 1.191 GB, free: 13.07 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.6281, allocations: 54.86 kB / 1.191 GB, free: 13.02 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.6284, allocations: 0.5293 MB / 1.192 GB, free: 12.61 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.6287, allocations: 388.2 kB / 1.192 GB, free: 12.3 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.6289, allocations: 210.8 kB / 1.192 GB, free: 12.2 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.6292, allocations: 349.4 kB / 1.192 GB, free: 11.88 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/0.6297, allocations: 383.5 kB / 1.193 GB, free: 11.75 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.6303, allocations: 0.7131 MB / 1.194 GB, free: 11.26 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.6315, allocations: 0.8904 MB / 1.194 GB, free: 10.85 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.6315, allocations: 0 / 1.194 GB, free: 10.85 MB / 1.042 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001856/0.6333, allocations: 1.201 MB / 1.196 GB, free: 10.37 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.6333, allocations: 8.969 kB / 1.196 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6333, allocations: 2.531 kB / 1.196 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/0.6337, allocations: 91.25 kB / 1.196 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.6342, allocations: 232 kB / 1.196 GB, free: 10.32 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.6358, allocations: 1.529 MB / 1.197 GB, free: 8.895 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/0.6367, allocations: 135.3 kB / 1.198 GB, free: 8.805 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.6368, allocations: 50.19 kB / 1.198 GB, free: 8.785 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000681/0.6374, allocations: 330.2 kB / 1.198 GB, free: 8.539 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.6377, allocations: 131.7 kB / 1.198 GB, free: 8.469 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.64, allocations: 1.541 MB / 1.2 GB, free: 7.59 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.64, allocations: 16.31 kB / 1.2 GB, free: 7.586 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.64, allocations: 0 / 1.2 GB, free: 7.586 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.64, allocations: 5.672 kB / 1.2 GB, free: 7.582 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.6436, allocations: 2.669 MB / 1.202 GB, free: 5.887 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6436, allocations: 2.75 kB / 1.202 GB, free: 5.887 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.6441, allocations: 203.1 kB / 1.202 GB, free: 5.84 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.6443, allocations: 76.41 kB / 1.202 GB, free: 5.801 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.6444, allocations: 31.06 kB / 1.202 GB, free: 5.781 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.6456, allocations: 1.569 MB / 1.204 GB, free: 4.285 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6456, allocations: 3.938 kB / 1.204 GB, free: 4.281 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.648, allocations: 1.906 MB / 1.206 GB, free: 3.223 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.6485, allocations: 280.8 kB / 1.206 GB, free: 3.016 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.6487, allocations: 38.08 kB / 1.206 GB, free: 2.988 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.6491, allocations: 81.7 kB / 1.206 GB, free: 2.945 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.6493, allocations: 91.64 kB / 1.206 GB, free: 2.887 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/0.6493, allocations: 45 kB / 1.206 GB, free: 2.871 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0006369/0.65, allocations: 0.6444 MB / 1.207 GB, free: 2.5 MB / 1.042 GB Notification: Performance of sort global known variables: time 3e-07/0.65, allocations: 3.938 kB / 1.207 GB, free: 2.496 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001103/0.6511, allocations: 469 kB / 1.207 GB, free: 2.367 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003951/0.655, allocations: 3.107 MB / 1.21 GB, free: 0.5195 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.6567, allocations: 1.084 MB / 1.212 GB, free: 15.96 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6567, allocations: 2.641 kB / 1.212 GB, free: 15.96 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0007612/0.6574, allocations: 0.6346 MB / 1.212 GB, free: 15.61 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.659, allocations: 0.5153 MB / 1.213 GB, free: 15.33 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.6707, allocations: 9.071 MB / 1.221 GB, free: 8.109 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.6711, allocations: 0.5801 MB / 1.222 GB, free: 7.496 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001026/0.6721, allocations: 382.2 kB / 1.222 GB, free: 7.117 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005847/0.6727, allocations: 0.5393 MB / 1.223 GB, free: 6.578 MB / 1.057 GB Notification: Performance of SimCode: time 1.322e-06/0.6727, allocations: 0 / 1.223 GB, free: 6.578 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05352/0.7262, allocations: 36.61 MB / 1.259 GB, free: 2.449 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/9.203, allocations: 2.922 kB / 1.259 GB, free: 2.449 MB / 1.089 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.53659481741488]