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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 200.3 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.745/2.745, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7501/0.7521, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2067/0.9588, allocations: 177 MB / 1.447 GB, free: 2.902 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02383/0.9826, allocations: 15.91 MB / 1.462 GB, free: 2.938 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.984, allocations: 31.81 kB / 1.462 GB, free: 2.906 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.9859, allocations: 0.6402 MB / 1.463 GB, free: 2.262 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004605/0.9905, allocations: 1.61 MB / 1.465 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004631/0.9951, allocations: 1.703 MB / 1.466 GB, free: 14.95 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004409/0.9995, allocations: 2.91 MB / 1.469 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/1.002, allocations: 1.481 MB / 1.471 GB, free: 10.49 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004241/1.006, allocations: 1.441 MB / 1.472 GB, free: 9.082 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/1.008, allocations: 1.07 MB / 1.473 GB, free: 8.008 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004402/1.009, allocations: 196 kB / 1.473 GB, free: 7.816 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/1.012, allocations: 1.38 MB / 1.475 GB, free: 6.434 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006503/1.013, allocations: 0.5724 MB / 1.475 GB, free: 5.859 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/1.014, allocations: 1.03 MB / 1.476 GB, free: 4.824 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00479/1.019, allocations: 3.024 MB / 1.479 GB, free: 1.789 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.019, allocations: 0 / 1.479 GB, free: 1.789 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.853e-06/1.019, allocations: 3.938 kB / 1.479 GB, free: 1.785 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.638e-05/1.019, allocations: 0 / 1.479 GB, free: 1.785 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.004437/1.023, allocations: 2.373 MB / 1.481 GB, free: 15.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.023, allocations: 8.031 kB / 1.481 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/1.026, allocations: 474.3 kB / 1.482 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/1.029, allocations: 1.145 MB / 1.483 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.029, allocations: 119.2 kB / 1.483 GB, free: 13.56 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/1.029, allocations: 168 kB / 1.483 GB, free: 13.4 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/1.032, allocations: 1.782 MB / 1.485 GB, free: 11.54 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/1.032, allocations: 0 / 1.485 GB, free: 11.54 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/1.032, allocations: 76 kB / 1.485 GB, free: 11.46 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/1.032, allocations: 47.98 kB / 1.485 GB, free: 11.42 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/1.036, allocations: 1.764 MB / 1.487 GB, free: 9.648 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.01058/1.046, allocations: 6.155 MB / 1.493 GB, free: 3.133 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/1.049, allocations: 1.491 MB / 1.494 GB, free: 1.582 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/1.05, allocations: 0.5191 MB / 1.495 GB, free: 1.062 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.051, allocations: 0.8867 MB / 1.496 GB, free: 15.99 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001546/1.053, allocations: 0.7932 MB / 1.496 GB, free: 15.18 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 3.267e-06/1.053, allocations: 0 / 1.496 GB, free: 15.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=126): time 0.005348/1.058, allocations: 1.895 MB / 1.498 GB, free: 13.26 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/1.058, allocations: 192.9 kB / 1.499 GB, free: 13.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/1.06, allocations: 0.9873 MB / 1.499 GB, free: 12.02 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001495/1.06, allocations: 53.7 kB / 1.5 GB, free: 11.96 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006573/1.061, allocations: 0.6696 MB / 1.5 GB, free: 11.28 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/1.061, allocations: 444.2 kB / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003843/1.062, allocations: 230.8 kB / 1.501 GB, free: 10.61 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.062, allocations: 353.9 kB / 1.501 GB, free: 10.26 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009507/1.063, allocations: 446.4 kB / 1.502 GB, free: 9.824 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/1.064, allocations: 0.5942 MB / 1.502 GB, free: 9.191 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/1.066, allocations: 1.038 MB / 1.503 GB, free: 8.129 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/1.066, allocations: 4 kB / 1.503 GB, free: 8.125 MB / 1.201 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003246/1.069, allocations: 1.352 MB / 1.505 GB, free: 6.762 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.069, allocations: 8 kB / 1.505 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.069, allocations: 0 / 1.505 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/1.07, allocations: 88.92 kB / 1.505 GB, free: 6.664 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.071, allocations: 295.6 kB / 1.505 GB, free: 6.375 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/1.073, allocations: 1.65 MB / 1.506 GB, free: 4.586 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.075, allocations: 151.1 kB / 1.507 GB, free: 4.438 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.075, allocations: 51.98 kB / 1.507 GB, free: 4.387 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (144): * 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: 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.0007715/1.076, allocations: 383.2 kB / 1.507 GB, free: 4 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/1.076, allocations: 143.1 kB / 1.507 GB, free: 3.859 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/1.08, allocations: 1.606 MB / 1.509 GB, free: 2.238 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.08, allocations: 16 kB / 1.509 GB, free: 2.223 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.08, allocations: 0 / 1.509 GB, free: 2.223 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/1.08, allocations: 7.969 kB / 1.509 GB, free: 2.215 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005935/1.086, allocations: 3.159 MB / 1.512 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.086, allocations: 0 / 1.512 GB, free: 15 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.087, allocations: 275.6 kB / 1.512 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/1.088, allocations: 80.72 kB / 1.512 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.152e-05/1.088, allocations: 35.97 kB / 1.512 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.09, allocations: 1.685 MB / 1.514 GB, free: 12.78 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.09, allocations: 0 / 1.514 GB, free: 12.78 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/1.094, allocations: 2.179 MB / 1.516 GB, free: 10.57 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009379/1.095, allocations: 399.7 kB / 1.516 GB, free: 10.16 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/1.095, allocations: 35.92 kB / 1.516 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.097, allocations: 83.98 kB / 1.517 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/1.097, allocations: 97.17 kB / 1.517 GB, free: 9.953 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.097, allocations: 63.89 kB / 1.517 GB, free: 9.891 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001/1.098, allocations: 0.68 MB / 1.517 GB, free: 9.203 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 4 kB / 1.517 GB, free: 9.199 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001446/1.099, allocations: 0.5533 MB / 1.518 GB, free: 8.645 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.002258/1.102, allocations: 0.7301 MB / 1.519 GB, free: 8.113 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002816/1.104, allocations: 1.224 MB / 1.52 GB, free: 6.875 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/1.104, allocations: 4.438 kB / 1.52 GB, free: 6.871 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.106, allocations: 0.7128 MB / 1.52 GB, free: 6.148 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/1.108, allocations: 0.5651 MB / 1.521 GB, free: 5.598 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/1.114, allocations: 2.91 MB / 1.524 GB, free: 2.652 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.115, allocations: 1.311 MB / 1.525 GB, free: 1.312 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001493/1.116, allocations: 442.8 kB / 1.526 GB, free: 0.875 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/1.117, allocations: 151.4 kB / 1.526 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of SimCode: time 7.31e-07/1.117, allocations: 0 / 1.526 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of Templates: time 0.04947/1.166, allocations: 27.66 MB / 1.553 GB, free: 5.426 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] 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_2/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: 9.772429333999753]