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.001338/0.001338, allocations: 79.97 kB / 19.76 MB, free: 2.031 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.001486/0.001486, allocations: 156.2 kB / 23.01 MB, free: 4.941 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.811/2.811, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002282/0.002282, allocations: 64.19 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.053, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2164/1.269, allocations: 155.4 MB / 1.306 GB, free: 8.582 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02279/1.292, allocations: 14.66 MB / 1.32 GB, free: 13.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/1.294, allocations: 43.44 kB / 1.32 GB, free: 13.13 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/1.296, allocations: 0.601 MB / 1.321 GB, free: 12.63 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005669/1.302, allocations: 1.624 MB / 1.322 GB, free: 11.39 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005251/1.307, allocations: 1.719 MB / 1.324 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004915/1.312, allocations: 2.934 MB / 1.327 GB, free: 7.688 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/1.315, allocations: 1.461 MB / 1.328 GB, free: 6.168 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/1.32, allocations: 1.69 MB / 1.33 GB, free: 4.512 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/1.322, allocations: 0.976 MB / 1.331 GB, free: 3.531 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004292/1.323, allocations: 200 kB / 1.331 GB, free: 3.336 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/1.326, allocations: 1.224 MB / 1.332 GB, free: 2.109 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006906/1.327, allocations: 0.5802 MB / 1.333 GB, free: 1.527 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/1.328, allocations: 0.8555 MB / 1.334 GB, free: 0.668 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005441/1.333, allocations: 3.078 MB / 1.337 GB, free: 13.58 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.333, allocations: 3.984 kB / 1.337 GB, free: 13.57 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.352e-06/1.333, allocations: 3.938 kB / 1.337 GB, free: 13.57 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.885e-05/1.334, allocations: 0 / 1.337 GB, free: 13.57 MB / 1.186 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.004943/1.339, allocations: 2.309 MB / 1.339 GB, free: 11.21 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.339, allocations: 12.03 kB / 1.339 GB, free: 11.2 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004001/1.343, allocations: 0.51 MB / 1.339 GB, free: 10.69 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/1.345, allocations: 1.073 MB / 1.34 GB, free: 9.574 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/1.345, allocations: 123.2 kB / 1.34 GB, free: 9.453 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.345, allocations: 156 kB / 1.341 GB, free: 9.301 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/1.349, allocations: 2.415 MB / 1.343 GB, free: 6.652 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/1.349, allocations: 3.938 kB / 1.343 GB, free: 6.648 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/1.349, allocations: 72 kB / 1.343 GB, free: 6.578 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/1.349, allocations: 44 kB / 1.343 GB, free: 6.535 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003313/1.353, allocations: 1.721 MB / 1.345 GB, free: 4.809 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008336/1.361, allocations: 4.408 MB / 1.349 GB, free: 308 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/1.364, allocations: 1.261 MB / 1.35 GB, free: 15.03 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/1.365, allocations: 0.5191 MB / 1.351 GB, free: 14.51 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005952/1.366, allocations: 132.9 kB / 1.351 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/1.367, allocations: 1.27 MB / 1.352 GB, free: 12.97 MB / 1.201 GB Notification: Performance of pre-optimization done (n=126): time 3.667e-06/1.367, allocations: 0 / 1.352 GB, free: 12.97 MB / 1.201 GB Notification: Performance of matching and sorting (n=126): time 0.005471/1.373, allocations: 1.808 MB / 1.354 GB, free: 11.16 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.373, allocations: 196.9 kB / 1.354 GB, free: 10.92 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/1.375, allocations: 0.8411 MB / 1.355 GB, free: 10.05 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.375, allocations: 53.7 kB / 1.355 GB, free: 9.996 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/1.376, allocations: 0.6924 MB / 1.356 GB, free: 9.293 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/1.376, allocations: 440.3 kB / 1.356 GB, free: 8.859 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/1.376, allocations: 238.7 kB / 1.356 GB, free: 8.617 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.377, allocations: 353.9 kB / 1.357 GB, free: 8.266 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.378, allocations: 446.4 kB / 1.357 GB, free: 7.832 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/1.379, allocations: 0.8028 MB / 1.358 GB, free: 6.941 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/1.381, allocations: 1.042 MB / 1.359 GB, free: 5.875 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.381, allocations: 0 / 1.359 GB, free: 5.875 MB / 1.201 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00351/1.385, allocations: 1.34 MB / 1.36 GB, free: 4.523 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.385, allocations: 10.66 kB / 1.36 GB, free: 4.516 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.385, allocations: 0 / 1.36 GB, free: 4.516 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/1.385, allocations: 88.92 kB / 1.36 GB, free: 4.426 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/1.387, allocations: 291.6 kB / 1.361 GB, free: 4.141 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/1.389, allocations: 1.516 MB / 1.362 GB, free: 2.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/1.391, allocations: 127.3 kB / 1.362 GB, free: 2.395 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/1.391, allocations: 47.97 kB / 1.362 GB, free: 2.348 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.0009237/1.392, allocations: 387.5 kB / 1.363 GB, free: 1.961 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004501/1.392, allocations: 131.2 kB / 1.363 GB, free: 1.832 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/1.396, allocations: 1.601 MB / 1.364 GB, free: 228 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/1.396, allocations: 16 kB / 1.364 GB, free: 212 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.396, allocations: 4 kB / 1.364 GB, free: 208 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.396, allocations: 11.97 kB / 1.364 GB, free: 196 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006364/1.402, allocations: 2.747 MB / 1.367 GB, free: 13.4 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/1.402, allocations: 0 / 1.367 GB, free: 13.4 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.404, allocations: 271.7 kB / 1.367 GB, free: 13.13 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/1.404, allocations: 72.78 kB / 1.367 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/1.404, allocations: 31.97 kB / 1.367 GB, free: 13.03 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/1.407, allocations: 1.551 MB / 1.369 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.407, allocations: 3.984 kB / 1.369 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/1.411, allocations: 2.17 MB / 1.371 GB, free: 9.168 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009285/1.412, allocations: 306.8 kB / 1.371 GB, free: 8.867 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/1.413, allocations: 32 kB / 1.371 GB, free: 8.836 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.414, allocations: 94.31 kB / 1.371 GB, free: 8.746 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/1.414, allocations: 97.12 kB / 1.372 GB, free: 8.652 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.414, allocations: 59.89 kB / 1.372 GB, free: 8.594 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001197/1.415, allocations: 0.5823 MB / 1.372 GB, free: 8 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.415, allocations: 4 kB / 1.372 GB, free: 7.996 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001727/1.417, allocations: 0.5648 MB / 1.373 GB, free: 7.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.002665/1.42, allocations: 0.724 MB / 1.373 GB, free: 6.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003375/1.423, allocations: 1.24 MB / 1.375 GB, free: 5.656 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.423, allocations: 0.5 kB / 1.375 GB, free: 5.656 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/1.425, allocations: 0.7168 MB / 1.375 GB, free: 4.93 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.428, allocations: 0.4971 MB / 1.376 GB, free: 4.453 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/1.435, allocations: 2.913 MB / 1.379 GB, free: 1.508 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.436, allocations: 0.7345 MB / 1.379 GB, free: 0.7383 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001628/1.437, allocations: 425.5 kB / 1.38 GB, free: 328 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/1.438, allocations: 152.4 kB / 1.38 GB, free: 172 kB / 1.217 GB Notification: Performance of SimCode: time 1.283e-06/1.438, allocations: 0 / 1.38 GB, free: 172 kB / 1.217 GB Notification: Performance of Templates: time 0.04787/1.486, allocations: 25.01 MB / 1.404 GB, free: 7.621 MB / 1.248 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 ida -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: 10.558798252022825]