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.00191/0.00191, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002515/0.002515, allocations: 212.2 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.789 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.937/2.937, allocations: 476 MB / 0.7699 GB, free: 4.777 MB / 0.6231 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_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.002314/0.002314, allocations: 66.59 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2987, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2058/0.5045, allocations: 155.4 MB / 1.434 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02451/0.529, allocations: 14.65 MB / 1.449 GB, free: 1.871 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.5307, allocations: 39.69 kB / 1.449 GB, free: 1.832 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.5329, allocations: 0.5973 MB / 1.449 GB, free: 1.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.5381, allocations: 1.632 MB / 1.451 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004831/0.543, allocations: 1.724 MB / 1.452 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00426/0.5472, allocations: 2.937 MB / 1.455 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/0.55, allocations: 1.455 MB / 1.457 GB, free: 9.418 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004188/0.5542, allocations: 1.473 MB / 1.458 GB, free: 7.977 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.556, allocations: 0.9916 MB / 1.459 GB, free: 6.98 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005282/0.5565, allocations: 200 kB / 1.459 GB, free: 6.785 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.5594, allocations: 1.224 MB / 1.461 GB, free: 5.559 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007768/0.5602, allocations: 0.5841 MB / 1.461 GB, free: 4.973 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.5616, allocations: 0.8516 MB / 1.462 GB, free: 4.117 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004847/0.5664, allocations: 3.086 MB / 1.465 GB, free: 1.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5664, allocations: 0 / 1.465 GB, free: 1.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5664, allocations: 0 / 1.465 GB, free: 1.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.679e-05/0.5665, allocations: 4 kB / 1.465 GB, free: 1.016 MB / 1.154 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.005086/0.5716, allocations: 2.317 MB / 1.467 GB, free: 14.64 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5717, allocations: 12.02 kB / 1.467 GB, free: 14.63 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003031/0.572, allocations: 232.4 kB / 1.467 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00382/0.5758, allocations: 0.5214 MB / 1.468 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.5781, allocations: 1.081 MB / 1.469 GB, free: 12.75 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.5782, allocations: 127.1 kB / 1.469 GB, free: 12.62 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.5785, allocations: 156 kB / 1.469 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003956/0.5824, allocations: 2.415 MB / 1.472 GB, free: 9.824 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.5824, allocations: 0 / 1.472 GB, free: 9.824 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.5826, allocations: 75.98 kB / 1.472 GB, free: 9.75 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.5827, allocations: 44 kB / 1.472 GB, free: 9.707 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.5861, allocations: 1.725 MB / 1.473 GB, free: 7.977 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.009086/0.5952, allocations: 4.645 MB / 1.478 GB, free: 3.219 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.5981, allocations: 1.258 MB / 1.479 GB, free: 1.957 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.5992, allocations: 0.525 MB / 1.48 GB, free: 1.434 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/0.5998, allocations: 132.9 kB / 1.48 GB, free: 1.305 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/0.6018, allocations: 1.282 MB / 1.481 GB, free: 15.88 MB / 1.186 GB Notification: Performance of pre-optimization done (n=126): time 3.637e-06/0.6018, allocations: 0 / 1.481 GB, free: 15.88 MB / 1.186 GB Notification: Performance of matching and sorting (n=126): time 0.005201/0.607, allocations: 1.82 MB / 1.483 GB, free: 14.06 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.6072, allocations: 196.9 kB / 1.483 GB, free: 13.82 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.6088, allocations: 1.012 MB / 1.484 GB, free: 12.79 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.6089, allocations: 57.7 kB / 1.484 GB, free: 12.73 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.6095, allocations: 0.6738 MB / 1.485 GB, free: 12.05 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/0.61, allocations: 444.2 kB / 1.485 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.6104, allocations: 214.9 kB / 1.485 GB, free: 11.39 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.6105, allocations: 341.9 kB / 1.486 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009642/0.6115, allocations: 426.4 kB / 1.486 GB, free: 10.64 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.6128, allocations: 0.8022 MB / 1.487 GB, free: 9.734 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.6149, allocations: 1.015 MB / 1.488 GB, free: 8.695 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6149, allocations: 0 / 1.488 GB, free: 8.695 MB / 1.186 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003283/0.6182, allocations: 1.313 MB / 1.489 GB, free: 7.371 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.6182, allocations: 4 kB / 1.489 GB, free: 7.367 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6182, allocations: 4 kB / 1.489 GB, free: 7.363 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.6188, allocations: 88.91 kB / 1.489 GB, free: 7.273 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.6202, allocations: 283.6 kB / 1.49 GB, free: 6.996 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.6226, allocations: 1.539 MB / 1.491 GB, free: 5.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.6239, allocations: 135.2 kB / 1.491 GB, free: 5.207 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.624, allocations: 47.97 kB / 1.491 GB, free: 5.16 MB / 1.186 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.0008731/0.6248, allocations: 385.7 kB / 1.492 GB, free: 4.773 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.6252, allocations: 151 kB / 1.492 GB, free: 4.625 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/0.6291, allocations: 1.606 MB / 1.493 GB, free: 3.008 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.6291, allocations: 24 kB / 1.493 GB, free: 2.984 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6291, allocations: 0 / 1.493 GB, free: 2.984 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.6292, allocations: 3.984 kB / 1.493 GB, free: 2.98 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/0.6355, allocations: 2.937 MB / 1.496 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.6355, allocations: 0 / 1.496 GB, free: 15.98 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.6368, allocations: 271.6 kB / 1.496 GB, free: 15.72 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.6373, allocations: 72.78 kB / 1.497 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.479e-05/0.6374, allocations: 35.97 kB / 1.497 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.6396, allocations: 1.566 MB / 1.498 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6396, allocations: 3.938 kB / 1.498 GB, free: 13.93 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/0.6445, allocations: 2.187 MB / 1.5 GB, free: 11.71 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.6456, allocations: 334.6 kB / 1.501 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.6459, allocations: 24 kB / 1.501 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.6472, allocations: 83.91 kB / 1.501 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.6474, allocations: 105.1 kB / 1.501 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.6476, allocations: 55.95 kB / 1.501 GB, free: 11.12 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001388/0.6489, allocations: 0.712 MB / 1.502 GB, free: 10.41 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6489, allocations: 0 / 1.502 GB, free: 10.41 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001845/0.6508, allocations: 0.5494 MB / 1.502 GB, free: 9.855 MB / 1.201 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.007985/0.6588, allocations: 3.377 MB / 1.505 GB, free: 6.66 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003781/0.6626, allocations: 1.205 MB / 1.507 GB, free: 5.441 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.6626, allocations: 448 / 1.507 GB, free: 5.441 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.6645, allocations: 0.7129 MB / 1.507 GB, free: 4.719 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/0.6681, allocations: 0.5801 MB / 1.508 GB, free: 4.16 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/0.6909, allocations: 10.15 MB / 1.518 GB, free: 9.836 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/0.6918, allocations: 0.7339 MB / 1.518 GB, free: 9.066 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001814/0.6936, allocations: 446.9 kB / 1.519 GB, free: 8.625 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.6948, allocations: 0.675 MB / 1.52 GB, free: 7.949 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/0.6948, allocations: 3.938 kB / 1.52 GB, free: 7.945 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09796/0.7928, allocations: 40.68 MB / 1.559 GB, free: 15.86 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.48, allocations: 11.03 kB / 1.559 GB, free: 15.85 MB / 1.264 GB " [Timeout remaining time 284] (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: 22.48226341465488]