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.001476/0.001476, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001896/0.001896, allocations: 216.7 kB / 22.26 MB, free: 5.121 MB / 14.72 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 1.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 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 2.903/2.903, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 65.09 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3064, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1989/0.5053, allocations: 180.4 MB / 1.529 GB, free: 3.461 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.5212, allocations: 11.2 MB / 1.54 GB, free: 8.223 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.5225, allocations: 43.62 kB / 1.54 GB, free: 8.18 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.524, allocations: 432.7 kB / 1.54 GB, free: 7.754 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.5273, allocations: 1.135 MB / 1.541 GB, free: 6.617 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.5317, allocations: 1.79 MB / 1.543 GB, free: 4.832 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003621/0.5353, allocations: 2.412 MB / 1.546 GB, free: 2.41 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.5377, allocations: 1.124 MB / 1.547 GB, free: 1.246 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.5423, allocations: 1.5 MB / 1.548 GB, free: 15.76 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.5439, allocations: 0.8247 MB / 1.549 GB, free: 14.93 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004918/0.5443, allocations: 156 kB / 1.549 GB, free: 14.78 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.5477, allocations: 1.513 MB / 1.551 GB, free: 13.26 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007363/0.5484, allocations: 462.6 kB / 1.551 GB, free: 12.81 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.5499, allocations: 0.7969 MB / 1.552 GB, free: 12.01 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005265/0.5552, allocations: 2.647 MB / 1.554 GB, free: 9.352 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5552, allocations: 0 / 1.554 GB, free: 9.352 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5552, allocations: 0 / 1.554 GB, free: 9.352 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.163e-05/0.5553, allocations: 0 / 1.554 GB, free: 9.352 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004176/0.5594, allocations: 1.891 MB / 1.556 GB, free: 7.414 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5595, allocations: 16.02 kB / 1.556 GB, free: 7.398 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003082/0.5598, allocations: 177.4 kB / 1.556 GB, free: 7.215 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.5625, allocations: 406.6 kB / 1.557 GB, free: 6.816 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.5645, allocations: 0.9201 MB / 1.558 GB, free: 5.867 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.5646, allocations: 86.33 kB / 1.558 GB, free: 5.781 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.5648, allocations: 116 kB / 1.558 GB, free: 5.668 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.567, allocations: 1.298 MB / 1.559 GB, free: 4.305 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.567, allocations: 3.938 kB / 1.559 GB, free: 4.301 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5671, allocations: 51.98 kB / 1.559 GB, free: 4.25 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.5671, allocations: 32 kB / 1.559 GB, free: 4.219 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.5694, allocations: 1.453 MB / 1.561 GB, free: 2.758 MB / 1.248 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.006273/0.5757, allocations: 4.039 MB / 1.565 GB, free: 14.5 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.5778, allocations: 1.07 MB / 1.566 GB, free: 13.43 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007682/0.5785, allocations: 411.6 kB / 1.566 GB, free: 13.02 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/0.5792, allocations: 125 kB / 1.566 GB, free: 12.9 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.5804, allocations: 0.6605 MB / 1.567 GB, free: 12.22 MB / 1.264 GB Notification: Performance of pre-optimization done (n=106): time 2.906e-06/0.5804, allocations: 0 / 1.567 GB, free: 12.22 MB / 1.264 GB Notification: Performance of matching and sorting (n=106): time 0.004084/0.5845, allocations: 1.539 MB / 1.568 GB, free: 10.67 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.5846, allocations: 200.8 kB / 1.569 GB, free: 10.43 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.586, allocations: 0.9073 MB / 1.569 GB, free: 9.504 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/0.5861, allocations: 45.7 kB / 1.569 GB, free: 9.453 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/0.5866, allocations: 0.5285 MB / 1.57 GB, free: 8.918 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.5869, allocations: 368.9 kB / 1.57 GB, free: 8.555 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/0.5872, allocations: 198.5 kB / 1.57 GB, free: 8.355 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5874, allocations: 349.9 kB / 1.571 GB, free: 8.008 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007183/0.5881, allocations: 361.8 kB / 1.571 GB, free: 7.652 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008622/0.589, allocations: 0.4932 MB / 1.572 GB, free: 7.125 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.5905, allocations: 0.8523 MB / 1.572 GB, free: 6.254 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5905, allocations: 0 / 1.572 GB, free: 6.254 MB / 1.264 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002534/0.5931, allocations: 1.122 MB / 1.574 GB, free: 5.125 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5931, allocations: 9.391 kB / 1.574 GB, free: 5.117 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5931, allocations: 96 / 1.574 GB, free: 5.117 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.5937, allocations: 84.78 kB / 1.574 GB, free: 5.031 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009356/0.5946, allocations: 227.7 kB / 1.574 GB, free: 4.809 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.5968, allocations: 1.545 MB / 1.575 GB, free: 3.141 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008929/0.5977, allocations: 127.2 kB / 1.576 GB, free: 3.016 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.5978, allocations: 43.97 kB / 1.576 GB, free: 2.973 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (120): * Single equations (assignments): 119 * 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.0005779/0.5984, allocations: 326.1 kB / 1.576 GB, free: 2.645 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.5987, allocations: 123.2 kB / 1.576 GB, free: 2.523 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.6017, allocations: 1.506 MB / 1.577 GB, free: 0.9922 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.6018, allocations: 12 kB / 1.577 GB, free: 0.9805 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6018, allocations: 0 / 1.577 GB, free: 0.9805 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.6018, allocations: 11.91 kB / 1.577 GB, free: 0.9688 MB / 1.264 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.005147/0.6069, allocations: 2.759 MB / 1.58 GB, free: 14.13 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.6069, allocations: 0 / 1.58 GB, free: 14.13 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008645/0.6078, allocations: 207.8 kB / 1.58 GB, free: 13.93 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.6082, allocations: 72.78 kB / 1.58 GB, free: 13.85 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.835e-05/0.6083, allocations: 35.97 kB / 1.58 GB, free: 13.82 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.6102, allocations: 1.57 MB / 1.582 GB, free: 12.13 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.6102, allocations: 7.984 kB / 1.582 GB, free: 12.12 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/0.6137, allocations: 1.867 MB / 1.584 GB, free: 10.21 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006125/0.6143, allocations: 274.8 kB / 1.584 GB, free: 9.945 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.6145, allocations: 31.94 kB / 1.584 GB, free: 9.914 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008722/0.6154, allocations: 72.16 kB / 1.584 GB, free: 9.844 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.6156, allocations: 100.8 kB / 1.584 GB, free: 9.746 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/0.6157, allocations: 43.97 kB / 1.584 GB, free: 9.703 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.000943/0.6166, allocations: 0.654 MB / 1.585 GB, free: 9.039 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.6166, allocations: 0 / 1.585 GB, free: 9.039 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001178/0.6178, allocations: 458.9 kB / 1.585 GB, free: 8.59 MB / 1.279 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.005881/0.6237, allocations: 3.024 MB / 1.588 GB, free: 5.703 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002103/0.6258, allocations: 1.027 MB / 1.589 GB, free: 4.664 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6258, allocations: 0 / 1.589 GB, free: 4.664 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.6269, allocations: 0.6255 MB / 1.59 GB, free: 4.027 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.6289, allocations: 0.5273 MB / 1.59 GB, free: 3.52 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/0.644, allocations: 8.883 MB / 1.599 GB, free: 10.44 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008832/0.6448, allocations: 1.17 MB / 1.6 GB, free: 9.238 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001141/0.646, allocations: 377.8 kB / 1.601 GB, free: 8.867 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007802/0.6468, allocations: 0.5344 MB / 1.601 GB, free: 8.332 MB / 1.295 GB Notification: Performance of SimCode: time 5.41e-07/0.6468, allocations: 0 / 1.601 GB, free: 8.332 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6232/1.27, allocations: 34.4 MB / 1.635 GB, free: 248.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/15.06, allocations: 3.438 kB / 1.635 GB, free: 248.9 MB / 1.295 GB " [Timeout remaining time 285] (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/jenkins1/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: 21.713648329954594]