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.001496/0.001496, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001575/0.001575, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 2.969/2.969, allocations: 377.8 MB / 0.6232 GB, free: 8.512 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.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.773e-06/1.773e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.188e-05/3.365e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3114/0.3115, allocations: 199.5 MB / 1.006 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.02583/0.3373, allocations: 11.84 MB / 1.017 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003959/0.3413, allocations: 91.25 kB / 1.017 GB, free: 14.03 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.004397/0.3457, allocations: 1.177 MB / 1.018 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.3572, allocations: 3.378 MB / 1.022 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.006486/0.3637, allocations: 1.911 MB / 1.024 GB, free: 7.535 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0091/0.3728, allocations: 4.285 MB / 1.028 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/0.3761, allocations: 1.165 MB / 1.029 GB, free: 2.039 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009003/0.3851, allocations: 2.763 MB / 1.032 GB, free: 15.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.3889, allocations: 1.255 MB / 1.033 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007203/0.3896, allocations: 184 kB / 1.033 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006731/0.3963, allocations: 2.31 MB / 1.035 GB, free: 11.53 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.398, allocations: 1.024 MB / 1.036 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002356/0.4004, allocations: 0.8806 MB / 1.037 GB, free: 9.617 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.4107, allocations: 4.471 MB / 1.041 GB, free: 5.133 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4107, allocations: 3.938 kB / 1.041 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4107, allocations: 0 / 1.041 GB, free: 5.129 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001314/0.4109, allocations: 4 kB / 1.041 GB, free: 5.125 MB / 0.9948 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.009452/0.4203, allocations: 3.069 MB / 1.044 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.874e-05/0.4204, allocations: 8.031 kB / 1.044 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/0.4258, allocations: 0.9423 MB / 1.045 GB, free: 1.039 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5789/1.005, allocations: 2.537 MB / 1.048 GB, free: 277.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/1.005, allocations: 151.5 kB / 1.048 GB, free: 277.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/1.005, allocations: 109.8 kB / 1.048 GB, free: 277.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003599/1.009, allocations: 2.24 MB / 1.05 GB, free: 276.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/1.009, allocations: 5.281 kB / 1.05 GB, free: 276.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.009, allocations: 47.25 kB / 1.05 GB, free: 276.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/1.009, allocations: 42.27 kB / 1.05 GB, free: 276.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/1.013, allocations: 2.611 MB / 1.053 GB, free: 275.4 MB / 0.9948 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.01199/1.025, allocations: 6.669 MB / 1.059 GB, free: 272.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00386/1.029, allocations: 2.011 MB / 1.061 GB, free: 271.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/1.031, allocations: 0.9465 MB / 1.062 GB, free: 271.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007305/1.032, allocations: 164.2 kB / 1.063 GB, free: 271.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00197/1.034, allocations: 1.184 MB / 1.064 GB, free: 270.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=91): time 3.696e-06/1.034, allocations: 0 / 1.064 GB, free: 270.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=91): time 0.02461/1.058, allocations: 5.78 MB / 1.069 GB, free: 269.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/1.058, allocations: 147.1 kB / 1.069 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009275/1.067, allocations: 3.713 MB / 1.073 GB, free: 267.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004171/1.068, allocations: 45.3 kB / 1.073 GB, free: 267.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.069, allocations: 1.029 MB / 1.074 GB, free: 267.1 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006948/1.07, allocations: 313.3 kB / 1.074 GB, free: 266.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/1.071, allocations: 219.9 kB / 1.075 GB, free: 266.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.071, allocations: 349.3 kB / 1.075 GB, free: 266.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002692/1.074, allocations: 1.153 MB / 1.076 GB, free: 266 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/1.077, allocations: 1.591 MB / 1.078 GB, free: 265.1 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/1.081, allocations: 2.185 MB / 1.08 GB, free: 264.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/1.081, allocations: 0.9688 kB / 1.08 GB, free: 264.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01008/1.092, allocations: 3.765 MB / 1.083 GB, free: 262.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/1.092, allocations: 74.34 kB / 1.084 GB, free: 262.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.092, allocations: 5.125 kB / 1.084 GB, free: 262.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/1.098, allocations: 2.074 MB / 1.086 GB, free: 262.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/1.099, allocations: 182.5 kB / 1.086 GB, free: 262.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009357/1.109, allocations: 6.384 MB / 1.092 GB, free: 257.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/1.111, allocations: 195.2 kB / 1.092 GB, free: 257.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003493/1.112, allocations: 51.73 kB / 1.092 GB, free: 257.6 MB / 0.9948 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.001665/1.113, allocations: 0.6622 MB / 1.093 GB, free: 257.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.114, allocations: 263.1 kB / 1.093 GB, free: 257.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009011/1.123, allocations: 3.232 MB / 1.096 GB, free: 256 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/1.124, allocations: 12.53 kB / 1.096 GB, free: 256 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.124, allocations: 0 / 1.096 GB, free: 256 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/1.124, allocations: 4.734 kB / 1.096 GB, free: 256 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/1.138, allocations: 5.185 MB / 1.101 GB, free: 253 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/1.138, allocations: 0 / 1.101 GB, free: 253 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006939/1.139, allocations: 108 kB / 1.101 GB, free: 252.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00577/1.145, allocations: 2.066 MB / 1.103 GB, free: 251.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002185/1.145, allocations: 32.73 kB / 1.103 GB, free: 251.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008871/1.154, allocations: 6.321 MB / 1.11 GB, free: 244.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.154, allocations: 4 kB / 1.11 GB, free: 244.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008796/1.163, allocations: 3.33 MB / 1.113 GB, free: 241.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/1.164, allocations: 429.8 kB / 1.113 GB, free: 241.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008528/1.165, allocations: 24.56 kB / 1.113 GB, free: 241.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/1.167, allocations: 114.9 kB / 1.113 GB, free: 241.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.168, allocations: 77.17 kB / 1.114 GB, free: 241.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/1.168, allocations: 47.14 kB / 1.114 GB, free: 241.4 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005157/1.173, allocations: 2.724 MB / 1.116 GB, free: 239 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1e-07/1.173, allocations: 0 / 1.116 GB, free: 239 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003638/1.177, allocations: 0.7489 MB / 1.117 GB, free: 238.3 MB / 0.9948 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.001821/1.179, allocations: 0.5173 MB / 1.117 GB, free: 237.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005778/1.184, allocations: 2.673 MB / 1.12 GB, free: 235.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.184, allocations: 0.875 kB / 1.12 GB, free: 235.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002792/1.187, allocations: 1.398 MB / 1.121 GB, free: 234.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/1.193, allocations: 0.8551 MB / 1.122 GB, free: 233.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/1.205, allocations: 4.778 MB / 1.127 GB, free: 229 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/1.207, allocations: 1.113 MB / 1.128 GB, free: 228.1 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001861/1.208, allocations: 347.5 kB / 1.128 GB, free: 227.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007494/1.209, allocations: 124.5 kB / 1.128 GB, free: 227.7 MB / 0.9948 GB Notification: Performance of SimCode: time 3.446e-06/1.209, allocations: 0 / 1.128 GB, free: 227.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.07067/1.28, allocations: 44.48 MB / 1.172 GB, free: 184.2 MB / 0.9948 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: 11.25200863997452]