Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001437/0.001437, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001621/0.001621, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.816 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 3.07/3.07, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001868/0.001868, allocations: 65.28 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2984, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1844/0.4829, allocations: 155.3 MB / 1.478 GB, free: 5.605 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02124/0.5041, allocations: 14.64 MB / 1.493 GB, free: 6.914 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.5055, allocations: 43.62 kB / 1.493 GB, free: 6.871 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.5073, allocations: 0.5934 MB / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.5122, allocations: 1.639 MB / 1.495 GB, free: 4.633 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004684/0.5169, allocations: 1.717 MB / 1.496 GB, free: 2.922 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004288/0.5212, allocations: 2.937 MB / 1.499 GB, free: 15.97 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.5237, allocations: 1.486 MB / 1.501 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004551/0.5282, allocations: 1.686 MB / 1.502 GB, free: 12.77 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001643/0.5299, allocations: 1.071 MB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003525/0.5302, allocations: 204 kB / 1.504 GB, free: 11.5 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.533, allocations: 1.256 MB / 1.505 GB, free: 10.24 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006671/0.5337, allocations: 0.5841 MB / 1.505 GB, free: 9.656 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.5349, allocations: 0.8477 MB / 1.506 GB, free: 8.805 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005335/0.5402, allocations: 3.078 MB / 1.509 GB, free: 5.715 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.5402, allocations: 4 kB / 1.509 GB, free: 5.711 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5402, allocations: 0 / 1.509 GB, free: 5.711 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.605e-05/0.5403, allocations: 0 / 1.509 GB, free: 5.711 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004859/0.5452, allocations: 2.321 MB / 1.512 GB, free: 3.34 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5452, allocations: 12.03 kB / 1.512 GB, free: 3.328 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.374e-05/0.5453, allocations: 39.2 kB / 1.512 GB, free: 3.289 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002974/0.5456, allocations: 240.3 kB / 1.512 GB, free: 3.043 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003877/0.5494, allocations: 0.5138 MB / 1.512 GB, free: 2.527 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.5517, allocations: 1.077 MB / 1.513 GB, free: 1.41 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.5518, allocations: 123.2 kB / 1.513 GB, free: 1.289 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.552, allocations: 156 kB / 1.514 GB, free: 1.137 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.5557, allocations: 2.418 MB / 1.516 GB, free: 14.49 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.5558, allocations: 4 kB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.5559, allocations: 68 kB / 1.516 GB, free: 14.42 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/0.556, allocations: 44 kB / 1.516 GB, free: 14.38 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.5592, allocations: 1.78 MB / 1.518 GB, free: 12.59 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008277/0.5675, allocations: 4.657 MB / 1.522 GB, free: 7.82 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.5701, allocations: 1.257 MB / 1.524 GB, free: 6.555 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.5711, allocations: 0.5158 MB / 1.524 GB, free: 6.035 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005629/0.5716, allocations: 132.9 kB / 1.524 GB, free: 5.906 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001768/0.5734, allocations: 1.282 MB / 1.526 GB, free: 4.492 MB / 1.217 GB Notification: Performance of pre-optimization done (n=126): time 3.377e-06/0.5734, allocations: 0 / 1.526 GB, free: 4.492 MB / 1.217 GB Notification: Performance of matching and sorting (n=126): time 0.005014/0.5784, allocations: 1.82 MB / 1.527 GB, free: 2.66 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.5785, allocations: 196.9 kB / 1.527 GB, free: 2.426 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.58, allocations: 1.012 MB / 1.528 GB, free: 1.398 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.5801, allocations: 53.7 kB / 1.529 GB, free: 1.34 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006253/0.5807, allocations: 0.6738 MB / 1.529 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.5811, allocations: 440.2 kB / 1.53 GB, free: 228 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.5815, allocations: 218.8 kB / 1.53 GB, free: 0 / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5817, allocations: 349.9 kB / 1.53 GB, free: 15.65 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008902/0.5825, allocations: 426.4 kB / 1.531 GB, free: 15.24 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.5837, allocations: 0.7944 MB / 1.531 GB, free: 14.34 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.5857, allocations: 1.015 MB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5857, allocations: 0 / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003059/0.5887, allocations: 1.309 MB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.5888, allocations: 11.98 kB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5888, allocations: 0 / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.5894, allocations: 84.94 kB / 1.534 GB, free: 11.89 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.5908, allocations: 283.6 kB / 1.534 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.593, allocations: 1.544 MB / 1.535 GB, free: 9.945 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.5943, allocations: 137.9 kB / 1.536 GB, free: 9.812 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5944, allocations: 43.97 kB / 1.536 GB, free: 9.77 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * 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.0007513/0.5951, allocations: 382 kB / 1.536 GB, free: 9.387 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.5954, allocations: 151 kB / 1.536 GB, free: 9.238 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/0.5991, allocations: 1.61 MB / 1.538 GB, free: 7.617 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.5991, allocations: 12 kB / 1.538 GB, free: 7.605 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.5991, allocations: 0 / 1.538 GB, free: 7.605 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.5991, allocations: 7.969 kB / 1.538 GB, free: 7.598 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005992/0.6051, allocations: 2.94 MB / 1.541 GB, free: 4.602 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6051, allocations: 0 / 1.541 GB, free: 4.602 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.6064, allocations: 267.7 kB / 1.541 GB, free: 4.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.6069, allocations: 80.77 kB / 1.541 GB, free: 4.258 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.641e-05/0.607, allocations: 35.97 kB / 1.541 GB, free: 4.223 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.609, allocations: 1.551 MB / 1.542 GB, free: 2.555 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.609, allocations: 7.969 kB / 1.542 GB, free: 2.547 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.6135, allocations: 2.187 MB / 1.545 GB, free: 344 kB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008176/0.6143, allocations: 334.5 kB / 1.545 GB, free: 8 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.6146, allocations: 28.08 kB / 1.545 GB, free: 15.98 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6157, allocations: 96.77 kB / 1.545 GB, free: 15.88 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.6159, allocations: 101.1 kB / 1.545 GB, free: 15.79 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.6161, allocations: 60.02 kB / 1.545 GB, free: 15.73 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001129/0.6172, allocations: 0.7041 MB / 1.546 GB, free: 15.02 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6172, allocations: 0 / 1.546 GB, free: 15.02 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001655/0.6189, allocations: 0.5494 MB / 1.546 GB, free: 14.46 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * 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.007207/0.6261, allocations: 3.378 MB / 1.55 GB, free: 11.27 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002771/0.6288, allocations: 1.201 MB / 1.551 GB, free: 10.05 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6289, allocations: 0.5 kB / 1.551 GB, free: 10.05 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.6303, allocations: 0.7127 MB / 1.552 GB, free: 9.332 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.633, allocations: 0.5719 MB / 1.552 GB, free: 8.781 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/0.6518, allocations: 10.17 MB / 1.562 GB, free: 14.43 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008398/0.6527, allocations: 0.7322 MB / 1.563 GB, free: 13.66 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001516/0.6542, allocations: 434.9 kB / 1.563 GB, free: 13.23 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.6552, allocations: 0.671 MB / 1.564 GB, free: 12.56 MB / 1.264 GB Notification: Performance of SimCode: time 9.62e-07/0.6552, allocations: 4 kB / 1.564 GB, free: 12.55 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08352/0.7387, allocations: 40.53 MB / 1.603 GB, free: 4.66 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.38, allocations: 15.98 kB / 1.603 GB, free: 4.645 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.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: 23.714010357973166]