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.001753/0.001753, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002263/0.002263, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.274/3.274, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.002062/0.002062, allocations: 70.34 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2881, allocations: 176.1 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1928/0.4809, allocations: 155.4 MB / 1.479 GB, free: 5.062 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0217/0.5026, allocations: 14.68 MB / 1.493 GB, free: 6.34 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.5041, allocations: 43.62 kB / 1.493 GB, free: 6.297 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.5059, allocations: 0.5817 MB / 1.494 GB, free: 5.711 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004791/0.5107, allocations: 1.632 MB / 1.495 GB, free: 4.074 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.5151, allocations: 1.725 MB / 1.497 GB, free: 2.359 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003984/0.5191, allocations: 2.925 MB / 1.5 GB, free: 15.42 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.5215, allocations: 1.501 MB / 1.501 GB, free: 13.86 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004362/0.5258, allocations: 1.686 MB / 1.503 GB, free: 12.2 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.5272, allocations: 1.066 MB / 1.504 GB, free: 11.13 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.5275, allocations: 200 kB / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.5299, allocations: 1.248 MB / 1.505 GB, free: 9.688 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005462/0.5305, allocations: 0.5802 MB / 1.506 GB, free: 9.105 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009199/0.5314, allocations: 0.8593 MB / 1.507 GB, free: 8.242 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003891/0.5353, allocations: 3.078 MB / 1.51 GB, free: 5.152 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5353, allocations: 0 / 1.51 GB, free: 5.152 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5353, allocations: 3.938 kB / 1.51 GB, free: 5.148 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.5353, allocations: 4 kB / 1.51 GB, free: 5.145 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.004464/0.5398, allocations: 2.313 MB / 1.512 GB, free: 2.781 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5398, allocations: 8.031 kB / 1.512 GB, free: 2.773 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/0.5439, allocations: 0.5139 MB / 1.513 GB, free: 2.258 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.546, allocations: 1.077 MB / 1.514 GB, free: 1.141 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.5462, allocations: 119.2 kB / 1.514 GB, free: 1.023 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/0.5464, allocations: 156 kB / 1.514 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/0.5504, allocations: 2.408 MB / 1.516 GB, free: 14.23 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.5505, allocations: 7.938 kB / 1.516 GB, free: 14.22 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.5507, allocations: 68 kB / 1.516 GB, free: 14.16 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/0.5507, allocations: 51.98 kB / 1.516 GB, free: 14.11 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.5541, allocations: 1.717 MB / 1.518 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008497/0.5626, allocations: 4.405 MB / 1.522 GB, free: 7.879 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.5654, allocations: 1.261 MB / 1.524 GB, free: 6.609 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.5665, allocations: 0.5189 MB / 1.524 GB, free: 6.086 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.5671, allocations: 136.9 kB / 1.524 GB, free: 5.953 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001851/0.5689, allocations: 1.287 MB / 1.526 GB, free: 4.531 MB / 1.217 GB Notification: Performance of pre-optimization done (n=126): time 3.507e-06/0.5689, allocations: 0 / 1.526 GB, free: 4.531 MB / 1.217 GB Notification: Performance of matching and sorting (n=126): time 0.005162/0.5741, allocations: 1.801 MB / 1.527 GB, free: 2.723 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.5742, allocations: 196.9 kB / 1.527 GB, free: 2.488 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.5754, allocations: 0.8373 MB / 1.528 GB, free: 1.625 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.5755, allocations: 49.7 kB / 1.528 GB, free: 1.57 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/0.5762, allocations: 0.6964 MB / 1.529 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/0.5766, allocations: 440.2 kB / 1.529 GB, free: 440 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004103/0.577, allocations: 230.8 kB / 1.53 GB, free: 200 kB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.5772, allocations: 349.9 kB / 1.53 GB, free: 15.85 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009914/0.5782, allocations: 450.4 kB / 1.53 GB, free: 15.41 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.5795, allocations: 0.7989 MB / 1.531 GB, free: 14.52 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.5816, allocations: 1.042 MB / 1.532 GB, free: 13.46 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.5816, allocations: 4 kB / 1.532 GB, free: 13.45 MB / 1.232 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003294/0.5849, allocations: 1.34 MB / 1.534 GB, free: 12.1 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5849, allocations: 8.156 kB / 1.534 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5849, allocations: 4 kB / 1.534 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/0.5856, allocations: 84.77 kB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.5872, allocations: 295.6 kB / 1.534 GB, free: 11.71 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.5895, allocations: 1.52 MB / 1.535 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.5907, allocations: 119.4 kB / 1.536 GB, free: 9.969 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.5908, allocations: 51.97 kB / 1.536 GB, free: 9.918 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.0007246/0.5915, allocations: 384.3 kB / 1.536 GB, free: 9.531 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.5918, allocations: 131.2 kB / 1.536 GB, free: 9.402 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.5957, allocations: 1.597 MB / 1.538 GB, free: 7.793 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5957, allocations: 12 kB / 1.538 GB, free: 7.781 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.5957, allocations: 0 / 1.538 GB, free: 7.781 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.5957, allocations: 7.969 kB / 1.538 GB, free: 7.773 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005637/0.6014, allocations: 2.751 MB / 1.54 GB, free: 4.98 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.6014, allocations: 4 kB / 1.54 GB, free: 4.977 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.6028, allocations: 271.6 kB / 1.541 GB, free: 4.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.6033, allocations: 80.77 kB / 1.541 GB, free: 4.629 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.91e-05/0.6034, allocations: 39.91 kB / 1.541 GB, free: 4.59 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.6055, allocations: 1.536 MB / 1.542 GB, free: 2.949 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6055, allocations: 0 / 1.542 GB, free: 2.949 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004654/0.6101, allocations: 2.178 MB / 1.544 GB, free: 0.7461 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/0.6109, allocations: 302.6 kB / 1.545 GB, free: 460 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.6111, allocations: 31.98 kB / 1.545 GB, free: 428 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.6123, allocations: 87.98 kB / 1.545 GB, free: 340 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.6125, allocations: 101.1 kB / 1.545 GB, free: 240 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.6127, allocations: 63.89 kB / 1.545 GB, free: 176 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008704/0.6136, allocations: 0.5784 MB / 1.545 GB, free: 15.58 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6136, allocations: 0 / 1.545 GB, free: 15.58 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001436/0.615, allocations: 0.5726 MB / 1.546 GB, free: 15 MB / 1.248 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.002344/0.6173, allocations: 0.7284 MB / 1.547 GB, free: 14.49 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002765/0.6201, allocations: 1.232 MB / 1.548 GB, free: 13.24 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.6201, allocations: 4.438 kB / 1.548 GB, free: 13.24 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.6216, allocations: 0.713 MB / 1.549 GB, free: 12.52 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.6237, allocations: 0.492 MB / 1.549 GB, free: 12.04 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.6291, allocations: 2.921 MB / 1.552 GB, free: 9.086 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/0.6299, allocations: 0.7298 MB / 1.553 GB, free: 8.32 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001407/0.6313, allocations: 425.5 kB / 1.553 GB, free: 7.902 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.6318, allocations: 147.4 kB / 1.553 GB, free: 7.758 MB / 1.248 GB Notification: Performance of SimCode: time 6.62e-07/0.6318, allocations: 0 / 1.553 GB, free: 7.758 MB / 1.248 GB Notification: Performance of Templates: time 0.04737/0.6792, allocations: 27.61 MB / 1.58 GB, free: 12.62 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 -s gbode -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.977750351012219]