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.001235/0.001235, allocations: 113 kB / 18.94 MB, free: 2.934 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.001398/0.001398, allocations: 210.5 kB / 22.25 MB, free: 5.086 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 8.023 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 2.916/2.916, allocations: 0.49 GB / 0.7951 GB, free: 33.57 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.001875/0.001875, allocations: 73.95 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3245, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1973/0.5219, allocations: 180 MB / 1.502 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02318/0.545, allocations: 16.04 MB / 1.518 GB, free: 12.75 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.5469, allocations: 39.69 kB / 1.518 GB, free: 12.71 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.5487, allocations: 0.6401 MB / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.5532, allocations: 1.64 MB / 1.52 GB, free: 10.42 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004407/0.5576, allocations: 1.75 MB / 1.522 GB, free: 8.676 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0046/0.5622, allocations: 2.933 MB / 1.525 GB, free: 5.734 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.5648, allocations: 1.497 MB / 1.526 GB, free: 4.176 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.5699, allocations: 1.686 MB / 1.528 GB, free: 2.52 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.5715, allocations: 1.081 MB / 1.529 GB, free: 1.434 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.5718, allocations: 200 kB / 1.529 GB, free: 1.238 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.5747, allocations: 1.415 MB / 1.53 GB, free: 15.82 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005681/0.5753, allocations: 0.5763 MB / 1.531 GB, free: 15.24 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.5764, allocations: 1.038 MB / 1.532 GB, free: 14.2 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004307/0.5807, allocations: 3.075 MB / 1.535 GB, free: 11.11 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5807, allocations: 0 / 1.535 GB, free: 11.11 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5807, allocations: 4 kB / 1.535 GB, free: 11.11 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.565e-05/0.5807, allocations: 3.938 kB / 1.535 GB, free: 11.11 MB / 1.232 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.004634/0.5854, allocations: 2.317 MB / 1.537 GB, free: 8.738 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5854, allocations: 12.02 kB / 1.537 GB, free: 8.727 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/0.589, allocations: 0.51 MB / 1.538 GB, free: 8.215 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.591, allocations: 1.069 MB / 1.539 GB, free: 7.105 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.5911, allocations: 123.2 kB / 1.539 GB, free: 6.984 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.5913, allocations: 152 kB / 1.539 GB, free: 6.836 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.5944, allocations: 1.788 MB / 1.541 GB, free: 4.969 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.5945, allocations: 3.938 kB / 1.541 GB, free: 4.965 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.5946, allocations: 68 kB / 1.541 GB, free: 4.898 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.5947, allocations: 51.98 kB / 1.541 GB, free: 4.848 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003036/0.5977, allocations: 1.768 MB / 1.543 GB, free: 3.074 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009387/0.6071, allocations: 6.238 MB / 1.549 GB, free: 12.43 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.6097, allocations: 1.267 MB / 1.55 GB, free: 11.16 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009562/0.6106, allocations: 0.5228 MB / 1.55 GB, free: 10.63 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.6112, allocations: 136.9 kB / 1.551 GB, free: 10.5 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/0.6127, allocations: 0.8027 MB / 1.551 GB, free: 9.68 MB / 1.248 GB Notification: Performance of pre-optimization done (n=126): time 2.635e-06/0.6127, allocations: 0 / 1.551 GB, free: 9.68 MB / 1.248 GB Notification: Performance of matching and sorting (n=126): time 0.004821/0.6175, allocations: 1.816 MB / 1.553 GB, free: 7.855 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.6177, allocations: 192.9 kB / 1.553 GB, free: 7.625 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.6191, allocations: 1.023 MB / 1.554 GB, free: 6.586 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.6192, allocations: 53.64 kB / 1.554 GB, free: 6.527 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000631/0.6198, allocations: 0.6736 MB / 1.555 GB, free: 5.844 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.6202, allocations: 444.2 kB / 1.555 GB, free: 5.406 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.6206, allocations: 238.7 kB / 1.556 GB, free: 5.164 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.6208, allocations: 345.9 kB / 1.556 GB, free: 4.82 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009377/0.6217, allocations: 450.4 kB / 1.556 GB, free: 4.383 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.6228, allocations: 0.602 MB / 1.557 GB, free: 3.742 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.6249, allocations: 1.038 MB / 1.558 GB, free: 2.68 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6249, allocations: 0 / 1.558 GB, free: 2.68 MB / 1.248 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003081/0.6279, allocations: 1.356 MB / 1.559 GB, free: 1.312 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.628, allocations: 8 kB / 1.559 GB, free: 1.305 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.628, allocations: 4 kB / 1.559 GB, free: 1.301 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.6286, allocations: 88.77 kB / 1.559 GB, free: 1.211 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.6299, allocations: 291.6 kB / 1.56 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.6323, allocations: 1.543 MB / 1.561 GB, free: 15.26 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.6334, allocations: 141.5 kB / 1.561 GB, free: 15.12 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.6335, allocations: 55.95 kB / 1.561 GB, free: 15.07 MB / 1.264 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.0007494/0.6343, allocations: 383.3 kB / 1.562 GB, free: 14.68 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.6345, allocations: 151.1 kB / 1.562 GB, free: 14.54 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.6381, allocations: 1.606 MB / 1.563 GB, free: 12.91 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.6381, allocations: 15.98 kB / 1.563 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6381, allocations: 0 / 1.563 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.6381, allocations: 7.969 kB / 1.563 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005524/0.6436, allocations: 3.158 MB / 1.567 GB, free: 9.676 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6436, allocations: 0 / 1.567 GB, free: 9.676 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.6449, allocations: 267.6 kB / 1.567 GB, free: 9.414 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.6453, allocations: 80.78 kB / 1.567 GB, free: 9.332 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.545e-05/0.6454, allocations: 35.97 kB / 1.567 GB, free: 9.297 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.6475, allocations: 1.566 MB / 1.568 GB, free: 7.613 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6475, allocations: 0 / 1.568 GB, free: 7.613 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/0.6517, allocations: 2.187 MB / 1.571 GB, free: 5.402 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007561/0.6524, allocations: 330.5 kB / 1.571 GB, free: 5.078 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.6526, allocations: 31.92 kB / 1.571 GB, free: 5.047 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.6536, allocations: 83.98 kB / 1.571 GB, free: 4.965 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.6538, allocations: 97.27 kB / 1.571 GB, free: 4.871 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.6539, allocations: 63.95 kB / 1.571 GB, free: 4.809 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009755/0.6549, allocations: 0.7001 MB / 1.572 GB, free: 4.102 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6549, allocations: 0 / 1.572 GB, free: 4.102 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001443/0.6564, allocations: 0.5572 MB / 1.572 GB, free: 3.543 MB / 1.264 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.002162/0.6585, allocations: 0.7096 MB / 1.573 GB, free: 3.008 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002653/0.6612, allocations: 1.236 MB / 1.574 GB, free: 1.758 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.6612, allocations: 4.438 kB / 1.574 GB, free: 1.754 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.6626, allocations: 0.7088 MB / 1.575 GB, free: 1.035 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/0.6648, allocations: 0.5725 MB / 1.576 GB, free: 500 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005209/0.6701, allocations: 2.921 MB / 1.578 GB, free: 13.53 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.6712, allocations: 1.307 MB / 1.58 GB, free: 12.19 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001345/0.6725, allocations: 439 kB / 1.58 GB, free: 11.76 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/0.6729, allocations: 163.3 kB / 1.58 GB, free: 11.6 MB / 1.279 GB Notification: Performance of SimCode: time 6.21e-07/0.6729, allocations: 0 / 1.58 GB, free: 11.6 MB / 1.279 GB Notification: Performance of Templates: time 0.6449/1.318, allocations: 28.17 MB / 1.608 GB, free: 120.5 MB / 1.295 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/jenkins/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: 10.104168020188808]