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.001684/0.001684, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.00204/0.00204, allocations: 215 kB / 20.13 MB, free: 2.949 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.601/1.601, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.879/2.879, allocations: 476.7 MB / 0.7678 GB, free: 9.367 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_Cp,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_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.002041/0.002041, allocations: 63.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.277/1.341, allocations: 179.7 MB / 1.454 GB, free: 8.207 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02736/1.368, allocations: 15.84 MB / 1.47 GB, free: 8.316 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/1.371, allocations: 43.62 kB / 1.47 GB, free: 8.273 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002727/1.373, allocations: 0.6362 MB / 1.471 GB, free: 7.633 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006361/1.38, allocations: 1.617 MB / 1.472 GB, free: 6.012 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005771/1.385, allocations: 1.718 MB / 1.474 GB, free: 4.301 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005343/1.391, allocations: 2.918 MB / 1.477 GB, free: 1.371 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003562/1.394, allocations: 1.528 MB / 1.478 GB, free: 15.78 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004909/1.399, allocations: 1.456 MB / 1.48 GB, free: 14.36 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/1.402, allocations: 1.078 MB / 1.481 GB, free: 13.28 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007847/1.402, allocations: 204 kB / 1.481 GB, free: 13.08 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/1.406, allocations: 1.415 MB / 1.482 GB, free: 11.66 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/1.407, allocations: 0.5763 MB / 1.483 GB, free: 11.08 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002304/1.41, allocations: 1.042 MB / 1.484 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00698/1.417, allocations: 3.074 MB / 1.487 GB, free: 6.949 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.417, allocations: 3.984 kB / 1.487 GB, free: 6.945 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.774e-06/1.417, allocations: 0 / 1.487 GB, free: 6.945 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001206/1.417, allocations: 3.938 kB / 1.487 GB, free: 6.941 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.006057/1.423, allocations: 2.395 MB / 1.489 GB, free: 4.48 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/1.423, allocations: 12.03 kB / 1.489 GB, free: 4.469 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.377e-05/1.423, allocations: 43.14 kB / 1.489 GB, free: 4.426 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003436/1.423, allocations: 240.3 kB / 1.489 GB, free: 4.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/1.427, allocations: 0.5138 MB / 1.49 GB, free: 3.664 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/1.43, allocations: 1.153 MB / 1.491 GB, free: 2.453 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/1.43, allocations: 127.1 kB / 1.491 GB, free: 2.328 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/1.43, allocations: 160 kB / 1.491 GB, free: 2.172 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/1.433, allocations: 1.784 MB / 1.493 GB, free: 316 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/1.434, allocations: 3.938 kB / 1.493 GB, free: 312 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/1.434, allocations: 68 kB / 1.493 GB, free: 244 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/1.434, allocations: 48 kB / 1.493 GB, free: 196 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/1.437, allocations: 1.768 MB / 1.495 GB, free: 14.42 MB / 1.186 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.01054/1.448, allocations: 6.182 MB / 1.501 GB, free: 7.875 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/1.451, allocations: 1.489 MB / 1.502 GB, free: 6.332 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.452, allocations: 0.5265 MB / 1.503 GB, free: 5.805 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/1.453, allocations: 0.8789 MB / 1.504 GB, free: 4.738 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/1.455, allocations: 0.7972 MB / 1.505 GB, free: 3.926 MB / 1.186 GB Notification: Performance of pre-optimization done (n=126): time 3.186e-06/1.455, allocations: 0 / 1.505 GB, free: 3.926 MB / 1.186 GB Notification: Performance of matching and sorting (n=126): time 0.005546/1.46, allocations: 1.895 MB / 1.506 GB, free: 2 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/1.461, allocations: 200.9 kB / 1.507 GB, free: 1.762 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/1.462, allocations: 1.004 MB / 1.508 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/1.462, allocations: 53.7 kB / 1.508 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007669/1.463, allocations: 0.6815 MB / 1.508 GB, free: 15.99 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/1.464, allocations: 440.2 kB / 1.509 GB, free: 15.56 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/1.464, allocations: 218.8 kB / 1.509 GB, free: 15.34 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001992/1.464, allocations: 341.9 kB / 1.509 GB, free: 15 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/1.465, allocations: 434.3 kB / 1.51 GB, free: 14.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/1.467, allocations: 0.5975 MB / 1.51 GB, free: 13.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/1.469, allocations: 1.015 MB / 1.511 GB, free: 12.89 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.469, allocations: 4 kB / 1.511 GB, free: 12.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003582/1.472, allocations: 1.305 MB / 1.512 GB, free: 11.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/1.473, allocations: 4 kB / 1.512 GB, free: 11.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.473, allocations: 4 kB / 1.512 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/1.473, allocations: 84.92 kB / 1.513 GB, free: 11.48 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.475, allocations: 279.6 kB / 1.513 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/1.477, allocations: 1.658 MB / 1.514 GB, free: 9.402 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/1.479, allocations: 143.2 kB / 1.515 GB, free: 9.262 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/1.479, allocations: 47.97 kB / 1.515 GB, free: 9.215 MB / 1.201 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.001098/1.48, allocations: 379.7 kB / 1.515 GB, free: 8.836 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006685/1.481, allocations: 151 kB / 1.515 GB, free: 8.688 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/1.485, allocations: 1.606 MB / 1.517 GB, free: 7.066 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/1.485, allocations: 12 kB / 1.517 GB, free: 7.055 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.485, allocations: 0 / 1.517 GB, free: 7.055 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/1.485, allocations: 7.984 kB / 1.517 GB, free: 7.047 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007035/1.492, allocations: 3.195 MB / 1.52 GB, free: 3.789 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.492, allocations: 0 / 1.52 GB, free: 3.789 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.493, allocations: 267.7 kB / 1.52 GB, free: 3.527 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/1.494, allocations: 80.78 kB / 1.52 GB, free: 3.445 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/1.494, allocations: 35.91 kB / 1.52 GB, free: 3.41 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/1.496, allocations: 1.67 MB / 1.522 GB, free: 1.594 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.496, allocations: 3.938 kB / 1.522 GB, free: 1.59 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005132/1.502, allocations: 2.187 MB / 1.524 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.503, allocations: 411.6 kB / 1.524 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/1.503, allocations: 24 kB / 1.524 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.504, allocations: 87.97 kB / 1.524 GB, free: 14.85 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/1.505, allocations: 97.17 kB / 1.525 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.505, allocations: 59.95 kB / 1.525 GB, free: 14.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001391/1.506, allocations: 0.7003 MB / 1.525 GB, free: 13.99 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.11e-07/1.506, allocations: 0 / 1.525 GB, free: 13.99 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001888/1.508, allocations: 0.5571 MB / 1.526 GB, free: 13.43 MB / 1.217 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.007999/1.516, allocations: 3.351 MB / 1.529 GB, free: 10.23 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003076/1.519, allocations: 1.201 MB / 1.53 GB, free: 9.02 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.519, allocations: 448 / 1.53 GB, free: 9.02 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.521, allocations: 0.7128 MB / 1.531 GB, free: 8.297 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/1.524, allocations: 0.5701 MB / 1.532 GB, free: 7.746 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/1.548, allocations: 10.17 MB / 1.541 GB, free: 13.4 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/1.549, allocations: 1.311 MB / 1.543 GB, free: 12.06 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00193/1.551, allocations: 438.9 kB / 1.543 GB, free: 11.63 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.553, allocations: 0.6672 MB / 1.544 GB, free: 10.96 MB / 1.232 GB Notification: Performance of SimCode: time 1.012e-06/1.553, allocations: 0 / 1.544 GB, free: 10.96 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09067/1.643, allocations: 37.92 MB / 1.581 GB, free: 5.465 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/17.1, allocations: 2.188 kB / 1.581 GB, free: 5.465 MB / 1.264 GB " [Timeout remaining time 283] (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: 23.97254188201623]