Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001935/0.001935, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0022/0.0022, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.965 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 2.891/2.891, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",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.002219/0.002219, allocations: 71.89 kB / 1.117 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 169.9 MB / 1.283 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2141/0.5574, allocations: 179.9 MB / 1.459 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.5807, allocations: 16.02 MB / 1.475 GB, free: 15.12 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.5824, allocations: 43.62 kB / 1.475 GB, free: 15.08 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.5846, allocations: 0.6363 MB / 1.475 GB, free: 14.44 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.5897, allocations: 1.63 MB / 1.477 GB, free: 12.8 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004869/0.5946, allocations: 1.754 MB / 1.479 GB, free: 11.05 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00467/0.5992, allocations: 2.937 MB / 1.482 GB, free: 8.105 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003015/0.6022, allocations: 1.494 MB / 1.483 GB, free: 6.555 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004791/0.607, allocations: 1.464 MB / 1.484 GB, free: 5.125 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.6092, allocations: 1.091 MB / 1.486 GB, free: 4.031 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006886/0.6098, allocations: 200 kB / 1.486 GB, free: 3.836 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.6133, allocations: 1.427 MB / 1.487 GB, free: 2.406 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.6144, allocations: 0.5802 MB / 1.488 GB, free: 1.824 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00223/0.6166, allocations: 1.038 MB / 1.489 GB, free: 0.7812 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006536/0.6231, allocations: 3.078 MB / 1.492 GB, free: 13.69 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6231, allocations: 0 / 1.492 GB, free: 13.69 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6231, allocations: 0 / 1.492 GB, free: 13.69 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001033/0.6232, allocations: 4 kB / 1.492 GB, free: 13.69 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.005865/0.6291, allocations: 2.321 MB / 1.494 GB, free: 11.32 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.6292, allocations: 8.031 kB / 1.494 GB, free: 11.31 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005359/0.6297, allocations: 240.3 kB / 1.494 GB, free: 11.06 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004177/0.6339, allocations: 0.5177 MB / 1.495 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.6367, allocations: 1.073 MB / 1.496 GB, free: 9.426 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.6368, allocations: 123.2 kB / 1.496 GB, free: 9.305 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/0.6372, allocations: 163.9 kB / 1.496 GB, free: 9.145 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004124/0.6414, allocations: 1.784 MB / 1.498 GB, free: 7.281 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.6414, allocations: 3.938 kB / 1.498 GB, free: 7.277 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.6416, allocations: 72 kB / 1.498 GB, free: 7.207 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-05/0.6417, allocations: 47.98 kB / 1.498 GB, free: 7.16 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.6454, allocations: 1.776 MB / 1.5 GB, free: 5.379 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.01186/0.6572, allocations: 6.087 MB / 1.506 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.6605, allocations: 1.254 MB / 1.507 GB, free: 13.67 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.6616, allocations: 0.5191 MB / 1.507 GB, free: 13.15 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/0.6623, allocations: 148.8 kB / 1.507 GB, free: 13.01 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001743/0.664, allocations: 0.7972 MB / 1.508 GB, free: 12.19 MB / 1.217 GB Notification: Performance of pre-optimization done (n=126): time 4.729e-06/0.664, allocations: 0 / 1.508 GB, free: 12.19 MB / 1.217 GB Notification: Performance of matching and sorting (n=126): time 0.005384/0.6694, allocations: 1.82 MB / 1.51 GB, free: 10.36 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.6695, allocations: 200.9 kB / 1.51 GB, free: 10.12 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.6714, allocations: 1.001 MB / 1.511 GB, free: 9.105 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.6717, allocations: 53.7 kB / 1.511 GB, free: 9.047 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007707/0.6724, allocations: 0.6815 MB / 1.512 GB, free: 8.355 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005455/0.673, allocations: 440.2 kB / 1.512 GB, free: 7.922 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/0.6734, allocations: 218.8 kB / 1.513 GB, free: 7.699 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.6736, allocations: 349.9 kB / 1.513 GB, free: 7.352 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009877/0.6746, allocations: 426.4 kB / 1.513 GB, free: 6.938 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.6757, allocations: 0.5975 MB / 1.514 GB, free: 6.289 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.6779, allocations: 1.015 MB / 1.515 GB, free: 5.25 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6779, allocations: 0 / 1.515 GB, free: 5.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003414/0.6813, allocations: 1.309 MB / 1.516 GB, free: 3.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.6813, allocations: 4 kB / 1.516 GB, free: 3.926 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.6813, allocations: 4 kB / 1.516 GB, free: 3.922 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/0.682, allocations: 84.92 kB / 1.516 GB, free: 3.836 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.6834, allocations: 283.6 kB / 1.516 GB, free: 3.559 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.6859, allocations: 1.562 MB / 1.518 GB, free: 1.875 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.6872, allocations: 135.2 kB / 1.518 GB, free: 1.742 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.6874, allocations: 43.97 kB / 1.518 GB, free: 1.699 MB / 1.217 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.0009507/0.6884, allocations: 378 kB / 1.519 GB, free: 1.32 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/0.6888, allocations: 147 kB / 1.519 GB, free: 1.176 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003948/0.6928, allocations: 1.602 MB / 1.52 GB, free: 15.56 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.6928, allocations: 16 kB / 1.52 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6928, allocations: 3.984 kB / 1.52 GB, free: 15.54 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.6928, allocations: 7.922 kB / 1.52 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006793/0.6996, allocations: 3.163 MB / 1.523 GB, free: 12.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.6996, allocations: 7.875 kB / 1.523 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.701, allocations: 271.7 kB / 1.524 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/0.7014, allocations: 68.78 kB / 1.524 GB, free: 11.97 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/0.7016, allocations: 35.97 kB / 1.524 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.7038, allocations: 1.566 MB / 1.525 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7038, allocations: 0 / 1.525 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/0.7089, allocations: 2.187 MB / 1.527 GB, free: 8.039 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.71, allocations: 334.5 kB / 1.528 GB, free: 7.711 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003986/0.7104, allocations: 28 kB / 1.528 GB, free: 7.684 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.7117, allocations: 92.48 kB / 1.528 GB, free: 7.598 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.712, allocations: 101.1 kB / 1.528 GB, free: 7.5 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.7121, allocations: 59.95 kB / 1.528 GB, free: 7.441 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001275/0.7134, allocations: 0.7081 MB / 1.529 GB, free: 6.727 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7134, allocations: 0 / 1.529 GB, free: 6.727 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00174/0.7152, allocations: 0.5494 MB / 1.529 GB, free: 6.176 MB / 1.232 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.007473/0.7226, allocations: 3.347 MB / 1.532 GB, free: 2.98 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002967/0.7256, allocations: 1.205 MB / 1.534 GB, free: 1.762 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.475e-06/0.7256, allocations: 448 / 1.534 GB, free: 1.762 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.7273, allocations: 0.7089 MB / 1.534 GB, free: 1.043 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/0.7303, allocations: 0.5704 MB / 1.535 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/0.7524, allocations: 10.16 MB / 1.545 GB, free: 6.152 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.7537, allocations: 1.311 MB / 1.546 GB, free: 4.812 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001781/0.7555, allocations: 442.9 kB / 1.546 GB, free: 4.375 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.7566, allocations: 0.675 MB / 1.547 GB, free: 3.699 MB / 1.248 GB Notification: Performance of SimCode: time 6.92e-07/0.7566, allocations: 4 kB / 1.547 GB, free: 3.695 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7934/1.55, allocations: 38.73 MB / 1.585 GB, free: 277.1 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.67, allocations: 4.188 kB / 1.585 GB, free: 277.1 MB / 1.264 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 24.60817647096701]