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.001534/0.001534, allocations: 78.88 kB / 19.76 MB, free: 2.031 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.001652/0.001652, allocations: 158.7 kB / 23.01 MB, free: 4.945 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.55/1.55, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.903/2.903, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.142, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2881/1.43, allocations: 199.9 MB / 1.349 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02408/1.454, allocations: 11.82 MB / 1.361 GB, free: 4.879 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004005/1.458, allocations: 99.19 kB / 1.361 GB, free: 4.781 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.003929/1.462, allocations: 1.169 MB / 1.362 GB, free: 3.605 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/1.473, allocations: 3.301 MB / 1.365 GB, free: 300 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006292/1.479, allocations: 1.837 MB / 1.367 GB, free: 14.47 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.008126/1.487, allocations: 4.204 MB / 1.371 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002955/1.49, allocations: 1.117 MB / 1.372 GB, free: 9.098 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006927/1.497, allocations: 2.222 MB / 1.374 GB, free: 6.867 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/1.501, allocations: 1.378 MB / 1.376 GB, free: 5.488 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0007576/1.501, allocations: 180 kB / 1.376 GB, free: 5.312 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006554/1.508, allocations: 2.276 MB / 1.378 GB, free: 3.031 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00174/1.51, allocations: 0.9891 MB / 1.379 GB, free: 2.039 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/1.513, allocations: 1.069 MB / 1.38 GB, free: 0.9648 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.009976/1.523, allocations: 4.383 MB / 1.384 GB, free: 12.57 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.523, allocations: 0 / 1.384 GB, free: 12.57 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.394e-06/1.523, allocations: 0 / 1.384 GB, free: 12.57 MB / 1.232 GB Notification: Performance of Transformations before backend: time 7.219e-05/1.523, allocations: 0 / 1.384 GB, free: 12.57 MB / 1.232 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.00703/1.53, allocations: 3.097 MB / 1.387 GB, free: 9.406 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.53, allocations: 12.03 kB / 1.387 GB, free: 9.395 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004626/1.535, allocations: 0.7983 MB / 1.388 GB, free: 8.594 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/1.539, allocations: 2.475 MB / 1.391 GB, free: 6.059 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/1.54, allocations: 149.5 kB / 1.391 GB, free: 5.898 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/1.54, allocations: 104 kB / 1.391 GB, free: 5.797 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/1.544, allocations: 2.245 MB / 1.393 GB, free: 3.438 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/1.544, allocations: 7.922 kB / 1.393 GB, free: 3.43 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/1.544, allocations: 48 kB / 1.393 GB, free: 3.383 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/1.544, allocations: 38.08 kB / 1.393 GB, free: 3.344 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004995/1.549, allocations: 2.616 MB / 1.396 GB, free: 0.707 MB / 1.232 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.01259/1.562, allocations: 6.617 MB / 1.402 GB, free: 9.977 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004183/1.566, allocations: 2.009 MB / 1.404 GB, free: 7.945 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/1.568, allocations: 0.9443 MB / 1.405 GB, free: 6.984 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007243/1.569, allocations: 176.5 kB / 1.405 GB, free: 6.812 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002283/1.571, allocations: 1.175 MB / 1.406 GB, free: 5.57 MB / 1.248 GB Notification: Performance of pre-optimization done (n=91): time 4.849e-06/1.571, allocations: 0 / 1.406 GB, free: 5.57 MB / 1.248 GB Notification: Performance of matching and sorting (n=91): time 0.02402/1.595, allocations: 5.737 MB / 1.412 GB, free: 15.78 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.595, allocations: 149.2 kB / 1.412 GB, free: 15.6 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007268/1.602, allocations: 3.706 MB / 1.416 GB, free: 11.87 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.000234/1.603, allocations: 49.7 kB / 1.416 GB, free: 11.82 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001349/1.604, allocations: 1.03 MB / 1.417 GB, free: 10.78 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/1.604, allocations: 321.3 kB / 1.417 GB, free: 10.46 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005782/1.605, allocations: 218.5 kB / 1.417 GB, free: 10.24 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002032/1.605, allocations: 345.9 kB / 1.418 GB, free: 9.898 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/1.608, allocations: 1.15 MB / 1.419 GB, free: 8.738 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/1.61, allocations: 1.596 MB / 1.42 GB, free: 7.004 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/1.614, allocations: 2.186 MB / 1.422 GB, free: 4.73 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.614, allocations: 0 / 1.422 GB, free: 4.73 MB / 1.264 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009607/1.624, allocations: 3.723 MB / 1.426 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/1.624, allocations: 71.39 kB / 1.426 GB, free: 0.8789 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.624, allocations: 4 kB / 1.426 GB, free: 0.875 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005165/1.629, allocations: 1.918 MB / 1.428 GB, free: 14.95 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/1.63, allocations: 187.7 kB / 1.428 GB, free: 14.76 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/1.641, allocations: 6.364 MB / 1.434 GB, free: 8.145 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/1.643, allocations: 191.3 kB / 1.434 GB, free: 7.957 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/1.643, allocations: 51.98 kB / 1.435 GB, free: 7.906 MB / 1.279 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.001544/1.645, allocations: 0.6529 MB / 1.435 GB, free: 7.23 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008521/1.646, allocations: 238.6 kB / 1.435 GB, free: 6.996 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008992/1.655, allocations: 3.239 MB / 1.439 GB, free: 3.707 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.655, allocations: 12 kB / 1.439 GB, free: 3.695 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.655, allocations: 0 / 1.439 GB, free: 3.695 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.655, allocations: 3.984 kB / 1.439 GB, free: 3.691 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/1.669, allocations: 5.18 MB / 1.444 GB, free: 14.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.669, allocations: 4 kB / 1.444 GB, free: 14.39 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/1.669, allocations: 95.88 kB / 1.444 GB, free: 14.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00505/1.675, allocations: 1.913 MB / 1.446 GB, free: 12.38 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/1.675, allocations: 35.97 kB / 1.446 GB, free: 12.34 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009857/1.685, allocations: 6.309 MB / 1.452 GB, free: 5.777 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.685, allocations: 4.031 kB / 1.452 GB, free: 5.773 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008718/1.693, allocations: 3.306 MB / 1.455 GB, free: 2.375 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.695, allocations: 418 kB / 1.455 GB, free: 1.965 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007019/1.696, allocations: 27.98 kB / 1.455 GB, free: 1.938 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/1.698, allocations: 107.9 kB / 1.456 GB, free: 1.832 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/1.698, allocations: 84.45 kB / 1.456 GB, free: 1.75 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.698, allocations: 35.98 kB / 1.456 GB, free: 1.715 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004834/1.703, allocations: 2.721 MB / 1.458 GB, free: 14.98 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.703, allocations: 0 / 1.458 GB, free: 14.98 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.00301/1.706, allocations: 0.7331 MB / 1.459 GB, free: 14.25 MB / 1.311 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.001462/1.707, allocations: 0.491 MB / 1.46 GB, free: 13.75 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.005743/1.713, allocations: 2.665 MB / 1.462 GB, free: 11.01 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.713, allocations: 8 kB / 1.462 GB, free: 11 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002924/1.716, allocations: 1.394 MB / 1.464 GB, free: 9.543 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/1.72, allocations: 0.7948 MB / 1.464 GB, free: 8.754 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.732, allocations: 4.782 MB / 1.469 GB, free: 3.891 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/1.734, allocations: 1.106 MB / 1.47 GB, free: 2.75 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001623/1.735, allocations: 343.6 kB / 1.47 GB, free: 2.41 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/1.736, allocations: 124.5 kB / 1.47 GB, free: 2.289 MB / 1.311 GB Notification: Performance of SimCode: time 1.452e-06/1.736, allocations: 0 / 1.47 GB, free: 2.289 MB / 1.311 GB Notification: Performance of Templates: time 0.08646/1.822, allocations: 44.64 MB / 1.514 GB, free: 6.496 MB / 1.357 GB " [Timeout remaining time 298] 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 -s ida -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/jenkins1/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.940750465961173]