Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001812/0.001812, allocations: 123.8 kB / 17.17 MB, free: 5.918 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.00208/0.00208, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.058/3.058, allocations: 476.7 MB / 0.7678 GB, free: 9.402 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.002266/0.002266, allocations: 71.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9683/0.9706, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2077/1.178, allocations: 171.7 MB / 1.447 GB, free: 140 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02306/1.201, allocations: 17.26 MB / 1.463 GB, free: 14.83 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/1.203, allocations: 39.69 kB / 1.464 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/1.205, allocations: 0.57 MB / 1.464 GB, free: 14.21 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/1.21, allocations: 1.664 MB / 1.466 GB, free: 12.55 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00365/1.213, allocations: 1.346 MB / 1.467 GB, free: 11.21 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003743/1.217, allocations: 2.715 MB / 1.47 GB, free: 8.488 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/1.219, allocations: 1.55 MB / 1.471 GB, free: 6.879 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00429/1.224, allocations: 1.428 MB / 1.473 GB, free: 5.492 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/1.225, allocations: 1.019 MB / 1.474 GB, free: 4.469 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.00037/1.226, allocations: 208 kB / 1.474 GB, free: 4.266 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/1.229, allocations: 1.494 MB / 1.475 GB, free: 2.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006305/1.229, allocations: 0.5646 MB / 1.476 GB, free: 2.203 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/1.231, allocations: 1.042 MB / 1.477 GB, free: 1.156 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005031/1.236, allocations: 3.176 MB / 1.48 GB, free: 13.97 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.236, allocations: 0 / 1.48 GB, free: 13.97 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.613e-06/1.236, allocations: 0 / 1.48 GB, free: 13.97 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.016e-05/1.236, allocations: 0 / 1.48 GB, free: 13.97 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004592/1.24, allocations: 2.385 MB / 1.482 GB, free: 11.52 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/1.24, allocations: 16.03 kB / 1.482 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.927e-05/1.24, allocations: 43.41 kB / 1.482 GB, free: 11.46 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003365/1.241, allocations: 249 kB / 1.483 GB, free: 11.2 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/1.245, allocations: 0.5802 MB / 1.483 GB, free: 10.62 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/1.247, allocations: 1.133 MB / 1.484 GB, free: 9.441 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/1.247, allocations: 127.4 kB / 1.484 GB, free: 9.316 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/1.248, allocations: 175.9 kB / 1.484 GB, free: 9.145 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/1.251, allocations: 1.844 MB / 1.486 GB, free: 7.25 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/1.251, allocations: 0 / 1.486 GB, free: 7.25 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/1.251, allocations: 72 kB / 1.486 GB, free: 7.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/1.251, allocations: 40 kB / 1.486 GB, free: 7.141 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/1.255, allocations: 1.878 MB / 1.488 GB, free: 5.258 MB / 1.17 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.008987/1.264, allocations: 5.529 MB / 1.494 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/1.267, allocations: 1.684 MB / 1.495 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/1.269, allocations: 0.589 MB / 1.496 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/1.271, allocations: 1.441 MB / 1.497 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/1.273, allocations: 0.8995 MB / 1.498 GB, free: 10.37 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.446e-06/1.273, allocations: 4 kB / 1.498 GB, free: 10.37 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.006922/1.279, allocations: 2.557 MB / 1.501 GB, free: 7.699 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/1.28, allocations: 205.2 kB / 1.501 GB, free: 7.457 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/1.281, allocations: 0.8633 MB / 1.502 GB, free: 6.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/1.281, allocations: 57.7 kB / 1.502 GB, free: 6.508 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005869/1.282, allocations: 0.6655 MB / 1.502 GB, free: 5.832 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004794/1.282, allocations: 0.4996 MB / 1.503 GB, free: 5.328 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/1.283, allocations: 238.8 kB / 1.503 GB, free: 5.086 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.283, allocations: 353.9 kB / 1.503 GB, free: 4.734 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.284, allocations: 478.4 kB / 1.504 GB, free: 4.27 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/1.285, allocations: 0.634 MB / 1.505 GB, free: 3.594 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/1.288, allocations: 1.095 MB / 1.506 GB, free: 2.488 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.288, allocations: 4 kB / 1.506 GB, free: 2.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003867/1.291, allocations: 1.5 MB / 1.507 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.291, allocations: 10.19 kB / 1.507 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.292, allocations: 0 / 1.507 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.293, allocations: 192.2 kB / 1.507 GB, free: 0.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.294, allocations: 331.6 kB / 1.508 GB, free: 436 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/1.301, allocations: 7.286 MB / 1.515 GB, free: 8.438 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.302, allocations: 151.1 kB / 1.515 GB, free: 8.289 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.303, allocations: 47.97 kB / 1.515 GB, free: 8.242 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007982/1.303, allocations: 387.6 kB / 1.515 GB, free: 7.855 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/1.304, allocations: 139.2 kB / 1.515 GB, free: 7.719 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/1.308, allocations: 1.839 MB / 1.517 GB, free: 5.855 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/1.308, allocations: 16 kB / 1.517 GB, free: 5.84 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.308, allocations: 3.938 kB / 1.517 GB, free: 5.836 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.308, allocations: 7.969 kB / 1.517 GB, free: 5.828 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/1.315, allocations: 3.46 MB / 1.521 GB, free: 2.289 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.315, allocations: 0 / 1.521 GB, free: 2.289 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.316, allocations: 319.5 kB / 1.521 GB, free: 1.977 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008051/1.317, allocations: 184.1 kB / 1.521 GB, free: 1.781 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/1.317, allocations: 47.95 kB / 1.521 GB, free: 1.734 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006705/1.324, allocations: 7.319 MB / 1.528 GB, free: 9.707 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.324, allocations: 0 / 1.528 GB, free: 9.707 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/1.328, allocations: 1.718 MB / 1.53 GB, free: 7.953 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/1.329, allocations: 415.6 kB / 1.53 GB, free: 7.527 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.329, allocations: 28 kB / 1.53 GB, free: 7.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.33, allocations: 97.02 kB / 1.53 GB, free: 7.406 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/1.331, allocations: 117.2 kB / 1.531 GB, free: 7.293 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.331, allocations: 67.95 kB / 1.531 GB, free: 7.227 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009375/1.332, allocations: 0.6025 MB / 1.531 GB, free: 6.613 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/1.332, allocations: 7.875 kB / 1.531 GB, free: 6.605 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001827/1.334, allocations: 0.6078 MB / 1.532 GB, free: 5.996 MB / 1.217 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.00654/1.34, allocations: 2.885 MB / 1.535 GB, free: 3.25 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003592/1.344, allocations: 1.785 MB / 1.536 GB, free: 1.402 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.344, allocations: 4.562 kB / 1.536 GB, free: 1.398 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002188/1.346, allocations: 1.25 MB / 1.538 GB, free: 84 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/1.348, allocations: 0.5134 MB / 1.538 GB, free: 15.59 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.369, allocations: 10.05 MB / 1.548 GB, free: 5.367 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.37, allocations: 1.3 MB / 1.549 GB, free: 4.035 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001749/1.372, allocations: 442.4 kB / 1.55 GB, free: 3.598 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.373, allocations: 0.6593 MB / 1.55 GB, free: 2.938 MB / 1.232 GB Notification: Performance of SimCode: time 1.272e-06/1.373, allocations: 0 / 1.55 GB, free: 2.938 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09646/1.469, allocations: 38.16 MB / 1.588 GB, free: 13.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/17.64, allocations: 11.09 kB / 1.588 GB, free: 13.19 MB / 1.279 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: 24.76436776603805]