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.002538/0.002538, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002868/0.002868, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.598/1.598, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.212/3.212, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.565e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2675/0.2675, allocations: 172.3 MB / 0.9791 GB, free: 5.219 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02643/0.2939, allocations: 16.07 MB / 0.9948 GB, free: 5.094 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.2955, allocations: 43.62 kB / 0.9948 GB, free: 5.051 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.2975, allocations: 0.6164 MB / 0.9954 GB, free: 4.43 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.005215/0.3027, allocations: 1.662 MB / 0.9971 GB, free: 2.758 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005042/0.3077, allocations: 1.733 MB / 0.9987 GB, free: 1.02 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.004694/0.3124, allocations: 3.022 MB / 1.002 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/0.3151, allocations: 1.533 MB / 1.003 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006852/0.322, allocations: 2.263 MB / 1.005 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.3237, allocations: 0.8607 MB / 1.006 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.3241, allocations: 208 kB / 1.006 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.3272, allocations: 1.243 MB / 1.008 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0007522/0.3279, allocations: 0.6036 MB / 1.008 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.3291, allocations: 0.7248 MB / 1.009 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.005501/0.3346, allocations: 3.255 MB / 1.012 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3346, allocations: 4 kB / 1.012 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.357e-06/0.3346, allocations: 0 / 1.012 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.099e-05/0.3346, allocations: 0 / 1.012 GB, free: 3.32 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.005277/0.3399, allocations: 2.571 MB / 1.015 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3399, allocations: 11.97 kB / 1.015 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.3442, allocations: 0.7199 MB / 1.015 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.3466, allocations: 1.115 MB / 1.016 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.3467, allocations: 135.2 kB / 1.017 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/0.347, allocations: 176 kB / 1.017 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004222/0.3513, allocations: 2.404 MB / 1.019 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/0.3513, allocations: 0 / 1.019 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.3515, allocations: 68 kB / 1.019 GB, free: 11.76 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.996e-05/0.3516, allocations: 55.98 kB / 1.019 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.3548, allocations: 1.53 MB / 1.021 GB, free: 10.17 MB / 0.9792 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.3661, allocations: 5.985 MB / 1.027 GB, free: 4.039 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.3688, allocations: 1.19 MB / 1.028 GB, free: 2.844 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.3699, allocations: 487.2 kB / 1.028 GB, free: 2.359 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/0.3705, allocations: 145.2 kB / 1.028 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002005/0.3725, allocations: 1.296 MB / 1.03 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=134): time 3.186e-06/0.3725, allocations: 0 / 1.03 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of matching and sorting (n=134): time 0.005255/0.3778, allocations: 1.676 MB / 1.031 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.378, allocations: 205.2 kB / 1.031 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.3799, allocations: 1.05 MB / 1.032 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.38, allocations: 57.7 kB / 1.032 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008245/0.3809, allocations: 0.7775 MB / 1.033 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/0.3814, allocations: 0.4883 MB / 1.034 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005201/0.3819, allocations: 304.4 kB / 1.034 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003604/0.3823, allocations: 0.5628 MB / 1.035 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009278/0.3832, allocations: 382.4 kB / 1.035 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3846, allocations: 0.8281 MB / 1.036 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.3867, allocations: 0.9648 MB / 1.037 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3867, allocations: 3.938 kB / 1.037 GB, free: 9.258 MB / 0.9948 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00347/0.3902, allocations: 1.312 MB / 1.038 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3902, allocations: 4 kB / 1.038 GB, free: 7.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3902, allocations: 4 kB / 1.038 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.3913, allocations: 147.7 kB / 1.038 GB, free: 7.777 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.3927, allocations: 303.6 kB / 1.038 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.3958, allocations: 2.034 MB / 1.04 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.3969, allocations: 119.3 kB / 1.041 GB, free: 5.199 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.3971, allocations: 51.97 kB / 1.041 GB, free: 5.148 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (157): * Single equations (assignments): 156 * 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.0008099/0.3979, allocations: 367 kB / 1.041 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/0.3983, allocations: 175.2 kB / 1.041 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.4021, allocations: 1.479 MB / 1.043 GB, free: 3.113 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.4021, allocations: 16 kB / 1.043 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4021, allocations: 0 / 1.043 GB, free: 3.098 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.4021, allocations: 15.84 kB / 1.043 GB, free: 3.082 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4187/0.8208, allocations: 3.071 MB / 1.046 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.8208, allocations: 0 / 1.046 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.8222, allocations: 271 kB / 1.046 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007919/0.823, allocations: 128.2 kB / 1.046 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.8232, allocations: 40.5 kB / 1.046 GB, free: 273.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.8249, allocations: 2.068 MB / 1.048 GB, free: 272.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8249, allocations: 7.469 kB / 1.048 GB, free: 272.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.8287, allocations: 2.038 MB / 1.05 GB, free: 271.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008766/0.8296, allocations: 316.1 kB / 1.05 GB, free: 271.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.8298, allocations: 29.89 kB / 1.05 GB, free: 271.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000954/0.8307, allocations: 67.59 kB / 1.05 GB, free: 271.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.831, allocations: 102.1 kB / 1.05 GB, free: 271.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.8311, allocations: 64.66 kB / 1.051 GB, free: 271.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007964/0.8319, allocations: 0.6459 MB / 1.051 GB, free: 271.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8319, allocations: 0.8125 kB / 1.051 GB, free: 271.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001483/0.8334, allocations: 0.5974 MB / 1.052 GB, free: 271.7 MB / 0.9948 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003715/0.8371, allocations: 0.7545 MB / 1.052 GB, free: 271.6 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.8396, allocations: 1.274 MB / 1.054 GB, free: 271.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.8396, allocations: 2.172 kB / 1.054 GB, free: 271.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.8408, allocations: 0.8022 MB / 1.055 GB, free: 270.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.8433, allocations: 0.5422 MB / 1.055 GB, free: 270.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.8481, allocations: 2.825 MB / 1.058 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.8488, allocations: 0.7147 MB / 1.059 GB, free: 269.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001503/0.8503, allocations: 397.7 kB / 1.059 GB, free: 269 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.8507, allocations: 149.4 kB / 1.059 GB, free: 269 MB / 0.9948 GB Notification: Performance of SimCode: time 1.763e-06/0.8507, allocations: 2.125 kB / 1.059 GB, free: 269 MB / 0.9948 GB Notification: Performance of Templates: time 0.04677/0.8975, allocations: 25.6 MB / 1.084 GB, free: 265.4 MB / 0.9948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] 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.442750965012237]