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.00123/0.00123, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001404/0.001404, allocations: 217 kB / 22.24 MB, free: 4.855 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.322/1.322, allocations: 230.6 MB / 256 MB, free: 7.977 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.958/2.958, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.001894/0.001894, allocations: 70.48 kB / 1.186 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2907, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1852/0.4759, allocations: 155.8 MB / 1.516 GB, free: 1.641 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01547/0.4914, allocations: 10.32 MB / 1.526 GB, free: 7.293 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.4925, allocations: 47.56 kB / 1.526 GB, free: 7.246 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.4938, allocations: 420.7 kB / 1.526 GB, free: 6.832 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.4969, allocations: 1.131 MB / 1.527 GB, free: 5.699 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.5011, allocations: 1.748 MB / 1.529 GB, free: 3.957 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003153/0.5042, allocations: 2.4 MB / 1.531 GB, free: 1.551 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.5063, allocations: 1.104 MB / 1.532 GB, free: 416 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.5101, allocations: 1.478 MB / 1.534 GB, free: 14.94 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.5115, allocations: 0.7466 MB / 1.534 GB, free: 14.19 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.5118, allocations: 156 kB / 1.535 GB, free: 14.04 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.5144, allocations: 1.271 MB / 1.536 GB, free: 12.76 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005311/0.515, allocations: 462.6 kB / 1.536 GB, free: 12.31 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.516, allocations: 0.6571 MB / 1.537 GB, free: 11.65 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.5201, allocations: 2.619 MB / 1.54 GB, free: 9.02 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5201, allocations: 4 kB / 1.54 GB, free: 9.016 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5201, allocations: 0 / 1.54 GB, free: 9.016 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.009e-05/0.5202, allocations: 0 / 1.54 GB, free: 9.016 MB / 1.232 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.003638/0.5238, allocations: 1.887 MB / 1.541 GB, free: 7.082 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5239, allocations: 8.031 kB / 1.541 GB, free: 7.074 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002497/0.5241, allocations: 181.4 kB / 1.542 GB, free: 6.887 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.5267, allocations: 406.6 kB / 1.542 GB, free: 6.488 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.5285, allocations: 0.9201 MB / 1.543 GB, free: 5.535 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/0.5286, allocations: 94.31 kB / 1.543 GB, free: 5.441 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.5288, allocations: 116 kB / 1.543 GB, free: 5.328 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002513/0.5313, allocations: 1.68 MB / 1.545 GB, free: 3.492 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.5313, allocations: 0 / 1.545 GB, free: 3.492 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.5314, allocations: 51.98 kB / 1.545 GB, free: 3.441 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.5315, allocations: 28 kB / 1.545 GB, free: 3.414 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.5339, allocations: 1.406 MB / 1.546 GB, free: 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.005974/0.5399, allocations: 3.15 MB / 1.549 GB, free: 14.78 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.542, allocations: 1.076 MB / 1.55 GB, free: 13.7 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/0.5428, allocations: 411.6 kB / 1.551 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/0.5434, allocations: 113.1 kB / 1.551 GB, free: 13.18 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001339/0.5447, allocations: 0.8903 MB / 1.552 GB, free: 12.22 MB / 1.248 GB Notification: Performance of pre-optimization done (n=106): time 2.735e-06/0.5447, allocations: 0 / 1.552 GB, free: 12.22 MB / 1.248 GB Notification: Performance of matching and sorting (n=106): time 0.004117/0.5489, allocations: 1.539 MB / 1.553 GB, free: 10.68 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.549, allocations: 192.9 kB / 1.553 GB, free: 10.44 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.5503, allocations: 0.9073 MB / 1.554 GB, free: 9.512 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.5505, allocations: 49.7 kB / 1.554 GB, free: 9.457 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/0.551, allocations: 0.5324 MB / 1.555 GB, free: 8.918 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.5513, allocations: 380.8 kB / 1.555 GB, free: 8.543 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.5517, allocations: 190.6 kB / 1.555 GB, free: 8.352 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5518, allocations: 345.9 kB / 1.556 GB, free: 8.008 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007641/0.5526, allocations: 361.8 kB / 1.556 GB, free: 7.656 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.5536, allocations: 0.6689 MB / 1.557 GB, free: 6.902 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.5553, allocations: 0.8484 MB / 1.557 GB, free: 6.039 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5553, allocations: 0 / 1.557 GB, free: 6.039 MB / 1.248 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002614/0.5579, allocations: 1.122 MB / 1.559 GB, free: 4.906 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.558, allocations: 9.234 kB / 1.559 GB, free: 4.898 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.558, allocations: 4 kB / 1.559 GB, free: 4.895 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/0.5586, allocations: 80.81 kB / 1.559 GB, free: 4.812 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/0.5595, allocations: 223.7 kB / 1.559 GB, free: 4.594 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.5617, allocations: 1.535 MB / 1.56 GB, free: 2.941 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/0.5626, allocations: 127.2 kB / 1.56 GB, free: 2.816 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.104e-05/0.5627, allocations: 44.05 kB / 1.561 GB, free: 2.773 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.0005798/0.5633, allocations: 325.5 kB / 1.561 GB, free: 2.445 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.5635, allocations: 127.2 kB / 1.561 GB, free: 2.32 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/0.5666, allocations: 1.513 MB / 1.562 GB, free: 0.7852 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.5666, allocations: 12 kB / 1.562 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5666, allocations: 4 kB / 1.562 GB, free: 0.7695 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.5666, allocations: 11.92 kB / 1.562 GB, free: 0.7578 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.004778/0.5714, allocations: 2.51 MB / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5714, allocations: 0 / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.5723, allocations: 207.7 kB / 1.565 GB, free: 13.97 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.5727, allocations: 72.98 kB / 1.565 GB, free: 13.9 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.672e-05/0.5728, allocations: 35.97 kB / 1.565 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/0.5747, allocations: 1.57 MB / 1.567 GB, free: 12.18 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5747, allocations: 3.984 kB / 1.567 GB, free: 12.17 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/0.5784, allocations: 1.874 MB / 1.569 GB, free: 10.26 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006865/0.5791, allocations: 271.1 kB / 1.569 GB, free: 9.996 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.5792, allocations: 27.95 kB / 1.569 GB, free: 9.969 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008695/0.5801, allocations: 79.28 kB / 1.569 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.5803, allocations: 100.8 kB / 1.569 GB, free: 9.797 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.5804, allocations: 47.97 kB / 1.569 GB, free: 9.75 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009451/0.5813, allocations: 0.6462 MB / 1.57 GB, free: 9.094 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.5813, allocations: 0 / 1.57 GB, free: 9.094 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00116/0.5825, allocations: 462.9 kB / 1.57 GB, free: 8.641 MB / 1.264 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.005907/0.5884, allocations: 3.047 MB / 1.573 GB, free: 5.754 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.5906, allocations: 1.026 MB / 1.574 GB, free: 4.715 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5906, allocations: 0 / 1.574 GB, free: 4.715 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5918, allocations: 0.6333 MB / 1.575 GB, free: 4.066 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.5939, allocations: 0.5229 MB / 1.575 GB, free: 3.562 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.6085, allocations: 8.892 MB / 1.584 GB, free: 10.48 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.6092, allocations: 0.5715 MB / 1.584 GB, free: 9.875 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001192/0.6103, allocations: 373.8 kB / 1.585 GB, free: 9.508 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000794/0.6111, allocations: 0.5344 MB / 1.585 GB, free: 8.973 MB / 1.279 GB Notification: Performance of SimCode: time 6.62e-07/0.6111, allocations: 7.938 kB / 1.585 GB, free: 8.965 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6058/1.217, allocations: 36.19 MB / 1.621 GB, free: 242.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/14.12, allocations: 2.969 kB / 1.621 GB, free: 242.6 MB / 1.295 GB " [Timeout remaining time 286] (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: 20.8064734172076]