Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001396/0.001396, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001583/0.001583, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.313/1.313, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.847/2.847, allocations: 0.49 GB / 0.7959 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="cs",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.001822/0.001822, allocations: 62.09 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2775, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.196/0.4735, allocations: 180.3 MB / 1.503 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.4894, allocations: 11.2 MB / 1.514 GB, free: 1.699 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.4906, allocations: 43.62 kB / 1.514 GB, free: 1.656 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.4918, allocations: 432.6 kB / 1.514 GB, free: 1.23 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.4948, allocations: 1.141 MB / 1.515 GB, free: 92 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004193/0.499, allocations: 1.797 MB / 1.517 GB, free: 14.3 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003209/0.5022, allocations: 2.404 MB / 1.519 GB, free: 11.89 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.5041, allocations: 1.132 MB / 1.52 GB, free: 10.71 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.5079, allocations: 1.483 MB / 1.522 GB, free: 9.242 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.509, allocations: 0.8325 MB / 1.523 GB, free: 8.406 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.5093, allocations: 160 kB / 1.523 GB, free: 8.25 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.5121, allocations: 1.509 MB / 1.524 GB, free: 6.738 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.5125, allocations: 462.6 kB / 1.525 GB, free: 6.285 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008052/0.5133, allocations: 0.7969 MB / 1.526 GB, free: 5.484 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.5169, allocations: 2.643 MB / 1.528 GB, free: 2.832 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5169, allocations: 0 / 1.528 GB, free: 2.832 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5169, allocations: 4 kB / 1.528 GB, free: 2.828 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.517, allocations: 0 / 1.528 GB, free: 2.828 MB / 1.217 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.003386/0.5204, allocations: 1.891 MB / 1.53 GB, free: 0.8906 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5204, allocations: 8.031 kB / 1.53 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.033e-05/0.5204, allocations: 30.33 kB / 1.53 GB, free: 0.8516 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002113/0.5206, allocations: 181.3 kB / 1.53 GB, free: 0.6641 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/0.5232, allocations: 406.6 kB / 1.531 GB, free: 272 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.5249, allocations: 0.9318 MB / 1.532 GB, free: 15.3 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.599e-05/0.5249, allocations: 90.31 kB / 1.532 GB, free: 15.21 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.5251, allocations: 119.9 kB / 1.532 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.5274, allocations: 1.294 MB / 1.533 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.5274, allocations: 0 / 1.533 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.5275, allocations: 52 kB / 1.533 GB, free: 13.68 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.5275, allocations: 28 kB / 1.533 GB, free: 13.66 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.5301, allocations: 1.453 MB / 1.534 GB, free: 12.2 MB / 1.232 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.006719/0.5368, allocations: 4.027 MB / 1.538 GB, free: 7.953 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.539, allocations: 1.082 MB / 1.539 GB, free: 6.863 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007887/0.5398, allocations: 420.1 kB / 1.54 GB, free: 6.453 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005712/0.5403, allocations: 124.8 kB / 1.54 GB, free: 6.332 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.5415, allocations: 0.6529 MB / 1.541 GB, free: 5.66 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 2.214e-06/0.5415, allocations: 0 / 1.541 GB, free: 5.66 MB / 1.232 GB Notification: Performance of matching and sorting (n=106): time 0.003977/0.5455, allocations: 1.543 MB / 1.542 GB, free: 4.109 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.5456, allocations: 192.9 kB / 1.542 GB, free: 3.875 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.5468, allocations: 0.9073 MB / 1.543 GB, free: 2.945 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/0.5469, allocations: 53.7 kB / 1.543 GB, free: 2.887 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/0.5473, allocations: 0.5324 MB / 1.544 GB, free: 2.348 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/0.5476, allocations: 368.9 kB / 1.544 GB, free: 1.984 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.5479, allocations: 190.6 kB / 1.544 GB, free: 1.793 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5481, allocations: 345.9 kB / 1.545 GB, free: 1.449 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.5488, allocations: 357.8 kB / 1.545 GB, free: 1.102 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.5497, allocations: 0.5049 MB / 1.545 GB, free: 0.5586 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.5513, allocations: 0.8446 MB / 1.546 GB, free: 15.7 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5513, allocations: 4 kB / 1.546 GB, free: 15.69 MB / 1.248 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002483/0.5538, allocations: 1.118 MB / 1.547 GB, free: 14.56 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5538, allocations: 8 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5538, allocations: 3.938 kB / 1.547 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/0.5544, allocations: 92.8 kB / 1.548 GB, free: 14.46 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009339/0.5553, allocations: 219.7 kB / 1.548 GB, free: 14.24 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.5573, allocations: 1.552 MB / 1.549 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.5582, allocations: 130.3 kB / 1.549 GB, free: 12.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/0.5583, allocations: 40.05 kB / 1.549 GB, free: 12.41 MB / 1.248 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.0005014/0.5588, allocations: 331.2 kB / 1.55 GB, free: 12.08 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.559, allocations: 127.2 kB / 1.55 GB, free: 11.95 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.5621, allocations: 1.506 MB / 1.551 GB, free: 10.42 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.5621, allocations: 12 kB / 1.551 GB, free: 10.41 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5621, allocations: 0 / 1.551 GB, free: 10.41 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.5621, allocations: 7.922 kB / 1.551 GB, free: 10.4 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 postOpt removeSimpleEquations (simulation): time 0.004793/0.5669, allocations: 2.755 MB / 1.554 GB, free: 7.566 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.5669, allocations: 0 / 1.554 GB, free: 7.566 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.5678, allocations: 203.7 kB / 1.554 GB, free: 7.367 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000426/0.5682, allocations: 76.97 kB / 1.554 GB, free: 7.289 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.947e-05/0.5683, allocations: 31.98 kB / 1.554 GB, free: 7.258 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.5702, allocations: 1.582 MB / 1.556 GB, free: 5.559 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5702, allocations: 0 / 1.556 GB, free: 5.559 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.5738, allocations: 1.87 MB / 1.558 GB, free: 3.652 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.5743, allocations: 274.8 kB / 1.558 GB, free: 3.383 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.5745, allocations: 31.89 kB / 1.558 GB, free: 3.352 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/0.5754, allocations: 75.92 kB / 1.558 GB, free: 3.277 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.5755, allocations: 96.7 kB / 1.558 GB, free: 3.184 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.736e-05/0.5756, allocations: 47.97 kB / 1.558 GB, free: 3.137 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009297/0.5766, allocations: 0.6423 MB / 1.559 GB, free: 2.484 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.5766, allocations: 0 / 1.559 GB, free: 2.484 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001159/0.5777, allocations: 466.9 kB / 1.559 GB, free: 2.027 MB / 1.248 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.005889/0.5836, allocations: 3.012 MB / 1.562 GB, free: 15.15 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.5858, allocations: 1.022 MB / 1.563 GB, free: 14.11 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5858, allocations: 4 kB / 1.563 GB, free: 14.11 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.587, allocations: 0.6335 MB / 1.564 GB, free: 13.46 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.5892, allocations: 0.5208 MB / 1.564 GB, free: 12.96 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.6045, allocations: 8.895 MB / 1.573 GB, free: 3.867 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/0.6055, allocations: 1.166 MB / 1.574 GB, free: 2.672 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001261/0.6068, allocations: 369.8 kB / 1.574 GB, free: 2.309 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008914/0.6077, allocations: 0.5383 MB / 1.575 GB, free: 1.77 MB / 1.264 GB Notification: Performance of SimCode: time 7.91e-07/0.6077, allocations: 0 / 1.575 GB, free: 1.77 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6271/1.235, allocations: 34.44 MB / 1.609 GB, free: 280.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.26, allocations: 8.297 kB / 1.609 GB, free: 280.5 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.633391250972636]