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.001215/0.001215, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00138/0.00138, allocations: 219.5 kB / 22.24 MB, free: 5.258 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.341/1.341, allocations: 230.6 MB / 256 MB, free: 7.82 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.897/2.897, allocations: 0.49 GB / 0.7951 GB, free: 35.6 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_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.001887/0.001887, allocations: 65.97 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.283, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1746/0.4575, allocations: 155.8 MB / 1.478 GB, free: 5.094 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.4717, allocations: 10.32 MB / 1.488 GB, free: 10.74 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008255/0.4725, allocations: 43.62 kB / 1.488 GB, free: 10.7 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.4736, allocations: 424.7 kB / 1.489 GB, free: 10.28 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.4762, allocations: 1.131 MB / 1.49 GB, free: 9.148 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.4799, allocations: 1.748 MB / 1.491 GB, free: 7.406 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002584/0.4825, allocations: 2.404 MB / 1.494 GB, free: 4.996 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.4841, allocations: 1.14 MB / 1.495 GB, free: 3.812 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/0.4875, allocations: 1.474 MB / 1.496 GB, free: 2.352 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.4886, allocations: 0.8246 MB / 1.497 GB, free: 1.523 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.4888, allocations: 156 kB / 1.497 GB, free: 1.371 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.4911, allocations: 1.298 MB / 1.498 GB, free: 72 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.4915, allocations: 462.5 kB / 1.499 GB, free: 15.62 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006531/0.4921, allocations: 0.6454 MB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.4954, allocations: 2.623 MB / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4954, allocations: 0 / 1.502 GB, free: 12.34 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4954, allocations: 4 kB / 1.502 GB, free: 12.33 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.4954, allocations: 0 / 1.502 GB, free: 12.33 MB / 1.201 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.003245/0.4987, allocations: 1.899 MB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.4987, allocations: 8.031 kB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.4989, allocations: 173.4 kB / 1.504 GB, free: 10.2 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.5015, allocations: 402.7 kB / 1.505 GB, free: 9.805 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.5032, allocations: 0.9279 MB / 1.505 GB, free: 8.844 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-05/0.5033, allocations: 90.33 kB / 1.506 GB, free: 8.754 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.5035, allocations: 112 kB / 1.506 GB, free: 8.645 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.5059, allocations: 1.675 MB / 1.507 GB, free: 6.812 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.5059, allocations: 0 / 1.507 GB, free: 6.812 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.506, allocations: 52 kB / 1.507 GB, free: 6.762 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.5061, allocations: 28 kB / 1.507 GB, free: 6.734 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.5084, allocations: 1.406 MB / 1.509 GB, free: 5.32 MB / 1.201 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.00569/0.5141, allocations: 3.153 MB / 1.512 GB, free: 2.094 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.5162, allocations: 1.075 MB / 1.513 GB, free: 1.004 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/0.5169, allocations: 421 kB / 1.513 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/0.5175, allocations: 117.1 kB / 1.513 GB, free: 492 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.5188, allocations: 0.8787 MB / 1.514 GB, free: 15.52 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 2.585e-06/0.5188, allocations: 0 / 1.514 GB, free: 15.52 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.003937/0.5227, allocations: 1.539 MB / 1.516 GB, free: 13.98 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.5228, allocations: 192.9 kB / 1.516 GB, free: 13.75 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.524, allocations: 0.9151 MB / 1.517 GB, free: 12.81 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.848e-05/0.5241, allocations: 53.7 kB / 1.517 GB, free: 12.75 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.5245, allocations: 0.5285 MB / 1.517 GB, free: 12.21 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.5248, allocations: 368.8 kB / 1.518 GB, free: 11.85 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.5251, allocations: 194.6 kB / 1.518 GB, free: 11.66 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5253, allocations: 345.9 kB / 1.518 GB, free: 11.31 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/0.526, allocations: 361.8 kB / 1.519 GB, free: 10.96 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000941/0.5269, allocations: 0.6767 MB / 1.519 GB, free: 10.2 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.5284, allocations: 0.8446 MB / 1.52 GB, free: 9.344 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5284, allocations: 4 kB / 1.52 GB, free: 9.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002536/0.531, allocations: 1.126 MB / 1.521 GB, free: 8.199 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.531, allocations: 7.938 kB / 1.521 GB, free: 8.191 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.531, allocations: 7.938 kB / 1.521 GB, free: 8.184 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.5316, allocations: 84.86 kB / 1.521 GB, free: 8.098 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009945/0.5326, allocations: 219.7 kB / 1.521 GB, free: 7.883 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.5347, allocations: 1.535 MB / 1.523 GB, free: 6.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/0.5356, allocations: 126.1 kB / 1.523 GB, free: 6.109 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/0.5357, allocations: 43.97 kB / 1.523 GB, free: 6.066 MB / 1.217 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.0005644/0.5363, allocations: 329.5 kB / 1.523 GB, free: 5.734 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.5365, allocations: 127.3 kB / 1.524 GB, free: 5.609 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003031/0.5395, allocations: 1.505 MB / 1.525 GB, free: 4.082 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.5395, allocations: 15.98 kB / 1.525 GB, free: 4.066 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.5395, allocations: 0 / 1.525 GB, free: 4.066 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.5396, allocations: 7.922 kB / 1.525 GB, free: 4.059 MB / 1.217 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.004641/0.5442, allocations: 2.518 MB / 1.528 GB, free: 1.473 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5442, allocations: 192 / 1.528 GB, free: 1.473 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.5451, allocations: 207.7 kB / 1.528 GB, free: 1.27 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.5456, allocations: 72.78 kB / 1.528 GB, free: 1.195 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.099e-05/0.5456, allocations: 31.97 kB / 1.528 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.5475, allocations: 1.582 MB / 1.529 GB, free: 15.46 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5475, allocations: 0 / 1.529 GB, free: 15.46 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.551, allocations: 1.874 MB / 1.531 GB, free: 13.55 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.5516, allocations: 274.8 kB / 1.531 GB, free: 13.29 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.5517, allocations: 24 kB / 1.531 GB, free: 13.26 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/0.5526, allocations: 75.92 kB / 1.532 GB, free: 13.19 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.5528, allocations: 100.7 kB / 1.532 GB, free: 13.09 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/0.5529, allocations: 47.97 kB / 1.532 GB, free: 13.04 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0008585/0.5538, allocations: 0.6423 MB / 1.532 GB, free: 12.39 MB / 1.233 GB Notification: Performance of sort global known variables: time 8e-08/0.5538, allocations: 3.938 kB / 1.532 GB, free: 12.39 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.001094/0.5548, allocations: 462.9 kB / 1.533 GB, free: 11.93 MB / 1.233 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.005713/0.5606, allocations: 3.051 MB / 1.536 GB, free: 9.043 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.5626, allocations: 1.027 MB / 1.537 GB, free: 8.004 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/0.5626, allocations: 7.938 kB / 1.537 GB, free: 7.996 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.5637, allocations: 0.6255 MB / 1.537 GB, free: 7.359 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.5657, allocations: 0.517 MB / 1.538 GB, free: 6.863 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.5797, allocations: 8.888 MB / 1.547 GB, free: 13.78 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.5803, allocations: 0.5793 MB / 1.547 GB, free: 13.16 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001143/0.5815, allocations: 365.8 kB / 1.547 GB, free: 12.8 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/0.5823, allocations: 0.5422 MB / 1.548 GB, free: 12.26 MB / 1.248 GB Notification: Performance of SimCode: time 6.41e-07/0.5823, allocations: 3.938 kB / 1.548 GB, free: 12.25 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08072/0.663, allocations: 36.52 MB / 1.584 GB, free: 8.25 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.82, allocations: 0 / 1.584 GB, free: 8.25 MB / 1.279 GB " [Timeout remaining time 286] (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: 20.451936704979744]