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.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.002522/0.002522, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.003116/0.003116, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.537/1.537, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.51/3.51, allocations: 429.5 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.723e-06/1.723e-06, allocations: 0.5469 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.072e-05, allocations: 3.25 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2425/0.2426, allocations: 172.3 MB / 1.046 GB, free: 9.758 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.5014/0.744, allocations: 16.19 MB / 1.062 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.7456, allocations: 36.78 kB / 1.062 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.7472, allocations: 0.6086 MB / 1.062 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.7517, allocations: 1.701 MB / 1.064 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.7558, allocations: 1.728 MB / 1.066 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004092/0.7599, allocations: 3.002 MB / 1.068 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.7621, allocations: 1.453 MB / 1.07 GB, free: 47.24 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/0.7679, allocations: 2.261 MB / 1.072 GB, free: 47.05 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.7695, allocations: 0.8716 MB / 1.073 GB, free: 46.95 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.7698, allocations: 212.5 kB / 1.073 GB, free: 46.95 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.7726, allocations: 1.28 MB / 1.074 GB, free: 46.86 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.7731, allocations: 0.6159 MB / 1.075 GB, free: 46.77 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.7741, allocations: 0.7316 MB / 1.076 GB, free: 46.69 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004406/0.7785, allocations: 3.284 MB / 1.079 GB, free: 46.37 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7785, allocations: 0 / 1.079 GB, free: 46.37 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7785, allocations: 1 kB / 1.079 GB, free: 46.37 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.432e-05/0.7785, allocations: 0 / 1.079 GB, free: 46.37 MB / 1.01 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.003991/0.7825, allocations: 2.58 MB / 1.081 GB, free: 45.17 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.7826, allocations: 7.875 kB / 1.081 GB, free: 45.17 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004633/0.7872, allocations: 0.8282 MB / 1.082 GB, free: 44.97 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.7894, allocations: 1.116 MB / 1.083 GB, free: 44.62 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.7895, allocations: 128.2 kB / 1.083 GB, free: 44.62 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.7898, allocations: 177.3 kB / 1.084 GB, free: 44.62 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.794, allocations: 2.472 MB / 1.086 GB, free: 43.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/0.794, allocations: 2.625 kB / 1.086 GB, free: 43.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.7942, allocations: 80.97 kB / 1.086 GB, free: 43.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-05/0.7943, allocations: 44.84 kB / 1.086 GB, free: 43.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.798, allocations: 1.646 MB / 1.088 GB, free: 43.5 MB / 1.01 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.01101/0.809, allocations: 6.072 MB / 1.094 GB, free: 41.04 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/0.8121, allocations: 1.347 MB / 1.095 GB, free: 40.98 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.8132, allocations: 0.5327 MB / 1.096 GB, free: 40.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.8136, allocations: 89.2 kB / 1.096 GB, free: 40.96 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/0.8154, allocations: 1.35 MB / 1.097 GB, free: 40.27 MB / 1.01 GB Notification: Performance of pre-optimization done (n=134): time 3.737e-06/0.8154, allocations: 0 / 1.097 GB, free: 40.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=134): time 0.005621/0.8211, allocations: 1.857 MB / 1.099 GB, free: 40.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.8211, allocations: 204.5 kB / 1.099 GB, free: 39.89 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.8226, allocations: 1.043 MB / 1.1 GB, free: 39.68 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.8227, allocations: 60.83 kB / 1.1 GB, free: 39.64 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.8234, allocations: 0.7773 MB / 1.101 GB, free: 39.28 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.8238, allocations: 498.5 kB / 1.101 GB, free: 38.98 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/0.8243, allocations: 302.6 kB / 1.102 GB, free: 38.95 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.8245, allocations: 0.5607 MB / 1.102 GB, free: 38.47 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.8256, allocations: 450.9 kB / 1.103 GB, free: 38.46 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.827, allocations: 0.8768 MB / 1.103 GB, free: 38.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.8292, allocations: 1.069 MB / 1.104 GB, free: 37.94 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.8292, allocations: 0.875 kB / 1.104 GB, free: 37.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003643/0.8329, allocations: 1.423 MB / 1.106 GB, free: 37.79 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.8329, allocations: 7.094 kB / 1.106 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8329, allocations: 1.875 kB / 1.106 GB, free: 37.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.8339, allocations: 138.1 kB / 1.106 GB, free: 37.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.8355, allocations: 330.1 kB / 1.106 GB, free: 37.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.8377, allocations: 2.055 MB / 1.108 GB, free: 36.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.839, allocations: 126 kB / 1.108 GB, free: 35.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.8392, allocations: 57.98 kB / 1.108 GB, free: 35.97 MB / 1.01 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.0007927/0.84, allocations: 357.2 kB / 1.109 GB, free: 35.81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.8404, allocations: 176.9 kB / 1.109 GB, free: 35.74 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004067/0.8444, allocations: 1.589 MB / 1.111 GB, free: 35.61 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.8445, allocations: 13.62 kB / 1.111 GB, free: 35.61 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8445, allocations: 2.266 kB / 1.111 GB, free: 35.61 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.8445, allocations: 12.22 kB / 1.111 GB, free: 35.61 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006853/0.8513, allocations: 3.246 MB / 1.114 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.8513, allocations: 1.344 kB / 1.114 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.8528, allocations: 287 kB / 1.114 GB, free: 35.12 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007979/0.8536, allocations: 130.7 kB / 1.114 GB, free: 35.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.8537, allocations: 41.39 kB / 1.114 GB, free: 35.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.8554, allocations: 2.062 MB / 1.116 GB, free: 33.35 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8554, allocations: 3.047 kB / 1.116 GB, free: 33.35 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.8603, allocations: 2.23 MB / 1.118 GB, free: 33.03 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008889/0.8612, allocations: 319.9 kB / 1.119 GB, free: 32.94 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.8615, allocations: 28.62 kB / 1.119 GB, free: 32.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.8626, allocations: 89.7 kB / 1.119 GB, free: 32.93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002702/0.8628, allocations: 101.2 kB / 1.119 GB, free: 32.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.863, allocations: 65.83 kB / 1.119 GB, free: 32.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009094/0.8639, allocations: 0.6434 MB / 1.12 GB, free: 32.78 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8639, allocations: 0.9688 kB / 1.12 GB, free: 32.78 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001649/0.8655, allocations: 0.5905 MB / 1.12 GB, free: 32.67 MB / 1.01 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 (144): * Single equations (assignments): 133 * 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.003526/0.8691, allocations: 0.7418 MB / 1.121 GB, free: 32.46 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003249/0.8723, allocations: 1.39 MB / 1.122 GB, free: 32.23 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.8723, allocations: 2.031 kB / 1.122 GB, free: 32.23 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.874, allocations: 0.8561 MB / 1.123 GB, free: 32.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.8764, allocations: 0.5353 MB / 1.124 GB, free: 31.99 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.8822, allocations: 2.893 MB / 1.126 GB, free: 30.83 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/0.8833, allocations: 0.7155 MB / 1.127 GB, free: 30.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002006/0.8853, allocations: 406.5 kB / 1.127 GB, free: 30.58 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005983/0.8859, allocations: 157.1 kB / 1.128 GB, free: 30.57 MB / 1.01 GB Notification: Performance of SimCode: time 2.304e-06/0.8859, allocations: 1.156 kB / 1.128 GB, free: 30.57 MB / 1.01 GB Notification: Performance of Templates: time 0.05112/0.937, allocations: 26.45 MB / 1.153 GB, free: 27.61 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.57218388398178]