Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001484/0.001484, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.001521/0.001521, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.421/1.421, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 489.2 MB / 0.7687 GB, free: 3.84 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.88 kB / 1.103 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9568/0.9587, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2232/1.182, allocations: 176.2 MB / 1.435 GB, free: 4.148 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02301/1.205, allocations: 15.68 MB / 1.45 GB, free: 7.453 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/1.207, allocations: 28.59 kB / 1.45 GB, free: 7.445 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/1.21, allocations: 0.6108 MB / 1.451 GB, free: 6.93 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006063/1.216, allocations: 1.56 MB / 1.452 GB, free: 5.73 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006286/1.222, allocations: 1.687 MB / 1.454 GB, free: 4.348 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005113/1.227, allocations: 2.898 MB / 1.457 GB, free: 1.434 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002969/1.23, allocations: 1.832 MB / 1.458 GB, free: 15.55 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004997/1.235, allocations: 1.594 MB / 1.46 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/1.237, allocations: 1.035 MB / 1.461 GB, free: 12.94 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006733/1.238, allocations: 196 kB / 1.461 GB, free: 12.75 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/1.241, allocations: 1.33 MB / 1.462 GB, free: 11.42 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007159/1.242, allocations: 0.5724 MB / 1.463 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001418/1.243, allocations: 1.03 MB / 1.464 GB, free: 9.809 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005362/1.249, allocations: 3.027 MB / 1.467 GB, free: 6.773 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.249, allocations: 7.938 kB / 1.467 GB, free: 6.766 MB / 1.154 GB Notification: Performance of FrontEnd: time 4.738e-06/1.249, allocations: 4 kB / 1.467 GB, free: 6.762 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.26e-05/1.249, allocations: 0 / 1.467 GB, free: 6.762 MB / 1.154 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.004496/1.253, allocations: 2.361 MB / 1.469 GB, free: 4.332 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.253, allocations: 8.031 kB / 1.469 GB, free: 4.324 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/1.257, allocations: 478.3 kB / 1.47 GB, free: 3.855 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/1.259, allocations: 1.145 MB / 1.471 GB, free: 2.664 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/1.259, allocations: 119.2 kB / 1.471 GB, free: 2.547 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/1.259, allocations: 160 kB / 1.471 GB, free: 2.391 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/1.262, allocations: 1.791 MB / 1.473 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/1.262, allocations: 0 / 1.473 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/1.262, allocations: 72 kB / 1.473 GB, free: 464 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/1.262, allocations: 47.98 kB / 1.473 GB, free: 416 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003139/1.266, allocations: 1.772 MB / 1.475 GB, free: 14.63 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009141/1.275, allocations: 6.302 MB / 1.481 GB, free: 7.93 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/1.278, allocations: 1.562 MB / 1.482 GB, free: 6.301 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/1.279, allocations: 0.5621 MB / 1.483 GB, free: 5.738 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/1.28, allocations: 0.8828 MB / 1.484 GB, free: 4.672 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/1.281, allocations: 0.8011 MB / 1.485 GB, free: 3.852 MB / 1.17 GB Notification: Performance of pre-optimization done (n=126): time 2.906e-06/1.281, allocations: 0 / 1.485 GB, free: 3.852 MB / 1.17 GB Notification: Performance of matching and sorting (n=126): time 0.004984/1.286, allocations: 1.891 MB / 1.486 GB, free: 1.934 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.286, allocations: 204.9 kB / 1.487 GB, free: 1.688 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/1.288, allocations: 0.9833 MB / 1.488 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/1.288, allocations: 53.7 kB / 1.488 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006331/1.289, allocations: 0.6658 MB / 1.488 GB, free: 15.95 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/1.289, allocations: 444.1 kB / 1.489 GB, free: 15.52 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/1.289, allocations: 230.8 kB / 1.489 GB, free: 15.29 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.29, allocations: 357.9 kB / 1.489 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009429/1.291, allocations: 450.4 kB / 1.49 GB, free: 14.49 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.292, allocations: 0.5942 MB / 1.49 GB, free: 13.86 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/1.294, allocations: 1.038 MB / 1.491 GB, free: 12.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.294, allocations: 4 kB / 1.491 GB, free: 12.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003172/1.297, allocations: 1.356 MB / 1.493 GB, free: 11.43 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.297, allocations: 4 kB / 1.493 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.297, allocations: 4.156 kB / 1.493 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/1.298, allocations: 80.78 kB / 1.493 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.299, allocations: 303.6 kB / 1.493 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/1.301, allocations: 1.647 MB / 1.495 GB, free: 9.258 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/1.303, allocations: 147.1 kB / 1.495 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.303, allocations: 47.97 kB / 1.495 GB, free: 9.066 MB / 1.186 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.0008503/1.304, allocations: 383.3 kB / 1.495 GB, free: 8.68 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/1.304, allocations: 143.1 kB / 1.495 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/1.308, allocations: 1.618 MB / 1.497 GB, free: 6.906 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.308, allocations: 12 kB / 1.497 GB, free: 6.895 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.308, allocations: 4 kB / 1.497 GB, free: 6.891 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.308, allocations: 3.984 kB / 1.497 GB, free: 6.887 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/1.313, allocations: 3.163 MB / 1.5 GB, free: 3.66 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.313, allocations: 0 / 1.5 GB, free: 3.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/1.314, allocations: 271.6 kB / 1.5 GB, free: 3.395 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/1.315, allocations: 84.72 kB / 1.5 GB, free: 3.309 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/1.315, allocations: 31.97 kB / 1.5 GB, free: 3.277 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.317, allocations: 1.674 MB / 1.502 GB, free: 1.461 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.317, allocations: 0 / 1.502 GB, free: 1.461 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004615/1.322, allocations: 2.187 MB / 1.504 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009121/1.323, allocations: 395.8 kB / 1.504 GB, free: 14.85 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/1.323, allocations: 31.94 kB / 1.505 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.324, allocations: 94.91 kB / 1.505 GB, free: 14.73 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.325, allocations: 101.1 kB / 1.505 GB, free: 14.63 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.325, allocations: 59.95 kB / 1.505 GB, free: 14.57 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001223/1.326, allocations: 0.68 MB / 1.505 GB, free: 13.88 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.51e-07/1.326, allocations: 0 / 1.505 GB, free: 13.88 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001779/1.328, allocations: 0.5572 MB / 1.506 GB, free: 13.32 MB / 1.201 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.002446/1.33, allocations: 0.7139 MB / 1.507 GB, free: 12.8 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003004/1.333, allocations: 1.287 MB / 1.508 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.333, allocations: 448 / 1.508 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/1.335, allocations: 0.7597 MB / 1.509 GB, free: 10.73 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.338, allocations: 0.5695 MB / 1.509 GB, free: 10.18 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/1.344, allocations: 2.948 MB / 1.512 GB, free: 7.188 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.345, allocations: 1.307 MB / 1.513 GB, free: 5.852 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007578/1.346, allocations: 171.3 kB / 1.514 GB, free: 5.684 MB / 1.201 GB Notification: Performance of SimCode: time 7.21e-07/1.346, allocations: 0 / 1.514 GB, free: 5.684 MB / 1.201 GB Notification: Performance of Templates: time 0.05018/1.396, allocations: 32.02 MB / 1.545 GB, free: 5.801 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.784944054903463]