Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001454/0.001454, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001679/0.001679, allocations: 220.5 kB / 22.24 MB, free: 5.109 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.904/2.904, allocations: 0.4892 GB / 0.7943 GB, free: 35.81 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_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.001906/0.001906, allocations: 68.62 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2997, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1661/0.4658, allocations: 135.9 MB / 1.458 GB, free: 9.961 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.4794, allocations: 9.946 MB / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.48, allocations: 27.81 kB / 1.468 GB, free: 15.96 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007843/0.4808, allocations: 285.6 kB / 1.468 GB, free: 15.68 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.4833, allocations: 1.013 MB / 1.469 GB, free: 14.66 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.4856, allocations: 1.11 MB / 1.47 GB, free: 13.56 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.4874, allocations: 1.744 MB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.4888, allocations: 0.9164 MB / 1.472 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.4904, allocations: 0.7619 MB / 1.473 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/0.4912, allocations: 0.5793 MB / 1.474 GB, free: 9.527 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.4914, allocations: 136 kB / 1.474 GB, free: 9.395 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.4931, allocations: 1.014 MB / 1.475 GB, free: 8.379 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.4934, allocations: 390.8 kB / 1.475 GB, free: 7.996 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005409/0.494, allocations: 0.5559 MB / 1.476 GB, free: 7.438 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.4966, allocations: 2.296 MB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4966, allocations: 3.938 kB / 1.478 GB, free: 5.129 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4966, allocations: 0 / 1.478 GB, free: 5.129 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.4967, allocations: 0 / 1.478 GB, free: 5.129 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003052/0.4997, allocations: 1.74 MB / 1.48 GB, free: 3.355 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4998, allocations: 8.031 kB / 1.48 GB, free: 3.348 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000216/0.5, allocations: 152.1 kB / 1.48 GB, free: 3.191 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.502, allocations: 322.8 kB / 1.48 GB, free: 2.875 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.5037, allocations: 1.025 MB / 1.481 GB, free: 1.82 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.5038, allocations: 77.98 kB / 1.481 GB, free: 1.742 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.504, allocations: 96 kB / 1.481 GB, free: 1.648 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.5061, allocations: 1.49 MB / 1.483 GB, free: 28 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.5061, allocations: 0 / 1.483 GB, free: 28 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.5063, allocations: 40.08 kB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.5063, allocations: 27.98 kB / 1.483 GB, free: 15.96 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.5087, allocations: 1.276 MB / 1.484 GB, free: 14.68 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.5139, allocations: 2.77 MB / 1.487 GB, free: 11.85 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.5159, allocations: 0.9663 MB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.5167, allocations: 401.1 kB / 1.488 GB, free: 10.48 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.5169, allocations: 56.89 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.5182, allocations: 0.8436 MB / 1.489 GB, free: 9.508 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 2.855e-06/0.5182, allocations: 7.938 kB / 1.489 GB, free: 9.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.004089/0.5223, allocations: 1.489 MB / 1.491 GB, free: 8.004 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.5224, allocations: 196.9 kB / 1.491 GB, free: 7.77 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.5237, allocations: 1.048 MB / 1.492 GB, free: 6.715 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.5238, allocations: 45.7 kB / 1.492 GB, free: 6.664 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.5242, allocations: 489.2 kB / 1.492 GB, free: 6.18 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.5245, allocations: 317.3 kB / 1.493 GB, free: 5.867 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.5247, allocations: 166.6 kB / 1.493 GB, free: 5.695 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5249, allocations: 341.9 kB / 1.493 GB, free: 5.355 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/0.5256, allocations: 333.8 kB / 1.493 GB, free: 5.031 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009555/0.5266, allocations: 0.6628 MB / 1.494 GB, free: 4.281 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001518/0.5281, allocations: 0.7648 MB / 1.495 GB, free: 3.504 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5281, allocations: 3.938 kB / 1.495 GB, free: 3.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002473/0.5306, allocations: 1.041 MB / 1.496 GB, free: 2.449 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5306, allocations: 9.406 kB / 1.496 GB, free: 2.441 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5306, allocations: 4.062 kB / 1.496 GB, free: 2.438 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007139/0.5313, allocations: 113.6 kB / 1.496 GB, free: 2.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/0.5321, allocations: 203.7 kB / 1.496 GB, free: 2.121 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.5354, allocations: 2.842 MB / 1.499 GB, free: 15.04 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007933/0.5362, allocations: 119.4 kB / 1.499 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/0.5363, allocations: 35.98 kB / 1.499 GB, free: 14.89 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004688/0.5367, allocations: 309.7 kB / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.537, allocations: 115.3 kB / 1.499 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.5399, allocations: 1.318 MB / 1.501 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5399, allocations: 12 kB / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5399, allocations: 0 / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.5399, allocations: 7.969 kB / 1.501 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.5441, allocations: 2.271 MB / 1.503 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5441, allocations: 0 / 1.503 GB, free: 10.78 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.5449, allocations: 187.7 kB / 1.503 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/0.5455, allocations: 109.6 kB / 1.503 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/0.5455, allocations: 31.97 kB / 1.503 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/0.5486, allocations: 2.882 MB / 1.506 GB, free: 7.332 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5486, allocations: 0 / 1.506 GB, free: 7.332 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.5511, allocations: 1.245 MB / 1.507 GB, free: 6.066 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.5517, allocations: 258.9 kB / 1.508 GB, free: 5.812 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.5519, allocations: 20 kB / 1.508 GB, free: 5.793 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008018/0.5527, allocations: 75.91 kB / 1.508 GB, free: 5.719 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.5528, allocations: 96.72 kB / 1.508 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-05/0.5529, allocations: 39.97 kB / 1.508 GB, free: 5.586 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009662/0.5539, allocations: 0.7723 MB / 1.508 GB, free: 4.816 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5539, allocations: 4 kB / 1.508 GB, free: 4.812 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001113/0.555, allocations: 454.9 kB / 1.509 GB, free: 4.367 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005073/0.5601, allocations: 2.421 MB / 1.511 GB, free: 2.125 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.5623, allocations: 1.08 MB / 1.512 GB, free: 1.02 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5623, allocations: 4 kB / 1.512 GB, free: 1.016 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.5635, allocations: 0.702 MB / 1.513 GB, free: 292 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5649, allocations: 363.8 kB / 1.513 GB, free: 15.95 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.579, allocations: 8.452 MB / 1.522 GB, free: 7.359 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.5796, allocations: 0.5127 MB / 1.522 GB, free: 6.809 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009935/0.5806, allocations: 308.1 kB / 1.522 GB, free: 6.504 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006959/0.5812, allocations: 479.2 kB / 1.523 GB, free: 6.039 MB / 1.217 GB Notification: Performance of SimCode: time 8.12e-07/0.5813, allocations: 0 / 1.523 GB, free: 6.039 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.075/0.6562, allocations: 30.61 MB / 1.553 GB, free: 7.809 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.21, allocations: 12.05 kB / 1.553 GB, free: 7.797 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.47033121716231]