Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.00167/0.00167, allocations: 83.11 kB / 19.18 MB, free: 2.516 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.002028/0.002028, allocations: 165 kB / 22.46 MB, free: 5.375 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.575/1.575, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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 2.991/2.991, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 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.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mHot_flow_set.y|souHot.T_in|orc.cyc.TWorEva|orc.cyc.mWor_flow|orc.cyc.mWor_flow_max|orc.cyc.mWor_flow_min|orc.cyc.dTPinEva|orc.cyc.dTPinEva_set|orc.ena|orc.on_actual",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mHot_flow_set.y|souHot.T_in|orc.cyc.TWorEva|orc.cyc.mWor_flow|orc.cyc.mWor_flow_max|orc.cyc.mWor_flow_min|orc.cyc.dTPinEva|orc.cyc.dTPinEva_set|orc.ena|orc.on_actual",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.468e-05, allocations: 5.516 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 1.057/1.057, allocations: 199.4 MB / 1.176 GB, free: 45.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02292/1.08, allocations: 11.84 MB / 1.188 GB, free: 44.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005271/1.085, allocations: 97.81 kB / 1.188 GB, free: 44.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00427/1.089, allocations: 1.181 MB / 1.189 GB, free: 44.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/1.102, allocations: 3.37 MB / 1.192 GB, free: 44.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007063/1.109, allocations: 1.926 MB / 1.194 GB, free: 44.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01008/1.119, allocations: 4.272 MB / 1.198 GB, free: 43.31 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00396/1.123, allocations: 1.124 MB / 1.199 GB, free: 43.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008749/1.132, allocations: 2.76 MB / 1.202 GB, free: 42.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/1.135, allocations: 1.251 MB / 1.203 GB, free: 42.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004281/1.136, allocations: 180.5 kB / 1.204 GB, free: 42.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007924/1.144, allocations: 2.31 MB / 1.206 GB, free: 42.52 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00132/1.145, allocations: 1.026 MB / 1.207 GB, free: 42.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002001/1.147, allocations: 0.8822 MB / 1.208 GB, free: 41.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/1.159, allocations: 4.464 MB / 1.212 GB, free: 40.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.159, allocations: 1.641 kB / 1.212 GB, free: 40.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.863e-06/1.159, allocations: 1.5 kB / 1.212 GB, free: 40.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.736e-05/1.159, allocations: 1.031 kB / 1.212 GB, free: 40.62 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.007638/1.167, allocations: 3.078 MB / 1.215 GB, free: 38.67 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.167, allocations: 8.969 kB / 1.215 GB, free: 38.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/1.172, allocations: 0.7994 MB / 1.216 GB, free: 38.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005687/1.178, allocations: 2.468 MB / 1.218 GB, free: 37.33 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/1.178, allocations: 153.7 kB / 1.218 GB, free: 37.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/1.178, allocations: 106.5 kB / 1.218 GB, free: 37.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/1.183, allocations: 2.24 MB / 1.221 GB, free: 36.18 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.516e-05/1.183, allocations: 2 kB / 1.221 GB, free: 36.18 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/1.183, allocations: 48.19 kB / 1.221 GB, free: 36.14 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.081e-05/1.183, allocations: 45.97 kB / 1.221 GB, free: 36.14 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/1.188, allocations: 2.613 MB / 1.223 GB, free: 35.3 MB / 1.076 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.01283/1.201, allocations: 6.622 MB / 1.23 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/1.205, allocations: 1.999 MB / 1.232 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/1.206, allocations: 0.9525 MB / 1.233 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/1.207, allocations: 170.7 kB / 1.233 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002049/1.209, allocations: 1.19 MB / 1.234 GB, free: 30.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=91): time 3.326e-06/1.209, allocations: 0 / 1.234 GB, free: 30.44 MB / 1.076 GB Notification: Performance of matching and sorting (n=91): time 0.02348/1.233, allocations: 5.744 MB / 1.24 GB, free: 28.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/1.233, allocations: 149 kB / 1.24 GB, free: 28.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005884/1.239, allocations: 3.706 MB / 1.243 GB, free: 27.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002925/1.239, allocations: 49.86 kB / 1.243 GB, free: 27.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00081/1.24, allocations: 1.032 MB / 1.244 GB, free: 26.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/1.24, allocations: 308.2 kB / 1.245 GB, free: 26.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/1.241, allocations: 220.8 kB / 1.245 GB, free: 26.28 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/1.241, allocations: 349 kB / 1.245 GB, free: 25.95 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/1.243, allocations: 1.147 MB / 1.246 GB, free: 25.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/1.245, allocations: 1.593 MB / 1.248 GB, free: 24.67 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.248, allocations: 2.197 MB / 1.25 GB, free: 23.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.248, allocations: 0 / 1.25 GB, free: 23.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.007837/1.256, allocations: 3.715 MB / 1.254 GB, free: 22.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.256, allocations: 69.69 kB / 1.254 GB, free: 22.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/1.256, allocations: 5.375 kB / 1.254 GB, free: 22.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005473/1.261, allocations: 1.926 MB / 1.256 GB, free: 21.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.263, allocations: 187.4 kB / 1.256 GB, free: 21.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/1.27, allocations: 6.359 MB / 1.262 GB, free: 17.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.273, allocations: 192.9 kB / 1.262 GB, free: 17.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/1.273, allocations: 49.69 kB / 1.262 GB, free: 17.24 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001399/1.275, allocations: 0.6521 MB / 1.263 GB, free: 16.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000717/1.276, allocations: 243.2 kB / 1.263 GB, free: 16.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00737/1.283, allocations: 3.233 MB / 1.266 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/1.283, allocations: 11.55 kB / 1.266 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.283, allocations: 1.688 kB / 1.266 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.283, allocations: 5.25 kB / 1.266 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.295, allocations: 5.168 MB / 1.271 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/1.295, allocations: 6.75 kB / 1.271 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/1.296, allocations: 97.89 kB / 1.271 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004186/1.3, allocations: 1.916 MB / 1.273 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/1.3, allocations: 32.08 kB / 1.273 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007312/1.307, allocations: 6.3 MB / 1.279 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.307, allocations: 3.344 kB / 1.28 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008339/1.316, allocations: 3.298 MB / 1.283 GB, free: 7.227 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/1.317, allocations: 432 kB / 1.283 GB, free: 6.973 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004522/1.318, allocations: 28.83 kB / 1.283 GB, free: 6.957 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.32, allocations: 110.1 kB / 1.283 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/1.32, allocations: 79.06 kB / 1.283 GB, free: 6.922 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.32, allocations: 44.94 kB / 1.283 GB, free: 6.914 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003591/1.323, allocations: 2.719 MB / 1.286 GB, free: 5.914 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.323, allocations: 0 / 1.286 GB, free: 5.914 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003002/1.326, allocations: 0.743 MB / 1.287 GB, free: 5.781 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/1.328, allocations: 0.5125 MB / 1.287 GB, free: 5.586 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004882/1.333, allocations: 2.675 MB / 1.29 GB, free: 4.461 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.333, allocations: 6.656 kB / 1.29 GB, free: 4.457 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002436/1.335, allocations: 1.39 MB / 1.291 GB, free: 3.527 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/1.339, allocations: 0.7963 MB / 1.292 GB, free: 2.891 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.349, allocations: 4.793 MB / 1.297 GB, free: 14.63 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.351, allocations: 1.123 MB / 1.298 GB, free: 13.81 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001755/1.353, allocations: 327.4 kB / 1.298 GB, free: 13.55 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/1.353, allocations: 137.7 kB / 1.298 GB, free: 13.43 MB / 1.092 GB Notification: Performance of SimCode: time 1.834e-06/1.353, allocations: 0 / 1.298 GB, free: 13.43 MB / 1.092 GB Notification: Performance of Templates: time 0.08941/1.442, allocations: 44.12 MB / 1.341 GB, free: 2.488 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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: 12.070017397403717]