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.001644/0.001644, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.001718/0.001718, allocations: 209.6 kB / 23 MB, free: 4.965 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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: 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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_Cp") [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.002/0.002, allocations: 71.52 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3361, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2865/0.6226, allocations: 155.4 MB / 1.479 GB, free: 4.973 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02134/0.644, allocations: 14.66 MB / 1.493 GB, free: 6.27 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.6452, allocations: 43.62 kB / 1.493 GB, free: 6.227 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.6468, allocations: 0.5934 MB / 1.494 GB, free: 5.629 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.651, allocations: 1.642 MB / 1.495 GB, free: 3.984 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004162/0.6552, allocations: 1.717 MB / 1.497 GB, free: 2.273 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003523/0.6587, allocations: 2.929 MB / 1.5 GB, free: 15.33 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.6609, allocations: 1.497 MB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.6653, allocations: 1.686 MB / 1.503 GB, free: 12.12 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.6668, allocations: 1.078 MB / 1.504 GB, free: 11.04 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.6672, allocations: 200 kB / 1.504 GB, free: 10.84 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.6696, allocations: 1.244 MB / 1.505 GB, free: 9.594 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.6702, allocations: 0.5841 MB / 1.506 GB, free: 9.008 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009545/0.6712, allocations: 0.84 MB / 1.507 GB, free: 8.164 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.6752, allocations: 3.086 MB / 1.51 GB, free: 5.066 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6752, allocations: 0 / 1.51 GB, free: 5.066 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6752, allocations: 0 / 1.51 GB, free: 5.066 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.071e-05/0.6752, allocations: 0 / 1.51 GB, free: 5.066 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.004403/0.6796, allocations: 2.321 MB / 1.512 GB, free: 2.695 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.6797, allocations: 8.031 kB / 1.512 GB, free: 2.688 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/0.6836, allocations: 0.51 MB / 1.513 GB, free: 2.176 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.6856, allocations: 1.077 MB / 1.514 GB, free: 1.059 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.6857, allocations: 123.1 kB / 1.514 GB, free: 0.9375 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.686, allocations: 160 kB / 1.514 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.6896, allocations: 2.419 MB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.6897, allocations: 3.938 kB / 1.516 GB, free: 14.12 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.6899, allocations: 71.98 kB / 1.516 GB, free: 14.05 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.6899, allocations: 44 kB / 1.516 GB, free: 14.01 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.6931, allocations: 1.725 MB / 1.518 GB, free: 12.28 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008128/0.7013, allocations: 4.401 MB / 1.522 GB, free: 7.781 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.704, allocations: 1.252 MB / 1.524 GB, free: 6.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.705, allocations: 0.5238 MB / 1.524 GB, free: 5.992 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006061/0.7056, allocations: 132.9 kB / 1.524 GB, free: 5.863 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00188/0.7075, allocations: 1.282 MB / 1.526 GB, free: 4.445 MB / 1.217 GB Notification: Performance of pre-optimization done (n=126): time 3.596e-06/0.7075, allocations: 0 / 1.526 GB, free: 4.445 MB / 1.217 GB Notification: Performance of matching and sorting (n=126): time 0.005078/0.7126, allocations: 1.8 MB / 1.527 GB, free: 2.637 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.7127, allocations: 200.9 kB / 1.528 GB, free: 2.398 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.7139, allocations: 0.8295 MB / 1.528 GB, free: 1.543 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.714, allocations: 57.7 kB / 1.528 GB, free: 1.48 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.7146, allocations: 0.6886 MB / 1.529 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/0.715, allocations: 444.2 kB / 1.529 GB, free: 352 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004056/0.7154, allocations: 234.8 kB / 1.53 GB, free: 108 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.7156, allocations: 349.9 kB / 1.53 GB, free: 15.76 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.7166, allocations: 450.4 kB / 1.53 GB, free: 15.32 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.7178, allocations: 0.8028 MB / 1.531 GB, free: 14.43 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.72, allocations: 1.031 MB / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.72, allocations: 0 / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003256/0.7232, allocations: 1.348 MB / 1.534 GB, free: 12.02 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.7233, allocations: 7.984 kB / 1.534 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7233, allocations: 4 kB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006699/0.7239, allocations: 80.94 kB / 1.534 GB, free: 11.92 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.7255, allocations: 295.6 kB / 1.534 GB, free: 11.63 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.7278, allocations: 1.522 MB / 1.535 GB, free: 10 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.729, allocations: 115.3 kB / 1.536 GB, free: 9.891 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.7291, allocations: 55.95 kB / 1.536 GB, free: 9.836 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: 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.0007119/0.7298, allocations: 383.2 kB / 1.536 GB, free: 9.449 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.7301, allocations: 135.2 kB / 1.536 GB, free: 9.316 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.7339, allocations: 1.593 MB / 1.538 GB, free: 7.711 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.734, allocations: 7.969 kB / 1.538 GB, free: 7.703 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.734, allocations: 0 / 1.538 GB, free: 7.703 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/0.7347, allocations: 310.7 kB / 1.538 GB, free: 7.398 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.7349, allocations: 27.94 kB / 1.538 GB, free: 7.371 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.736, allocations: 88.3 kB / 1.538 GB, free: 7.289 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.7362, allocations: 101.1 kB / 1.538 GB, free: 7.191 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003794/0.74, allocations: 1.486 MB / 1.54 GB, free: 5.695 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004167/0.7442, allocations: 2.211 MB / 1.542 GB, free: 3.469 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001114/0.7453, allocations: 0.5334 MB / 1.542 GB, free: 2.934 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001025/0.7463, allocations: 0.5784 MB / 1.543 GB, free: 2.344 MB / 1.232 GB Notification: Performance of Backend: time 5.41e-07/0.7463, allocations: 0 / 1.543 GB, free: 2.344 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00635/0.7527, allocations: 1.74 MB / 1.545 GB, free: 0.8555 MB / 1.232 GB Notification: Performance of SimCode: time 0.005367/0.758, allocations: 3.242 MB / 1.548 GB, free: 13.58 MB / 1.248 GB Notification: Performance of Templates: time 0.05144/0.8095, allocations: 31.56 MB / 1.579 GB, free: 14.33 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 400] 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: 9.95100487700256]