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.00162/0.00162, allocations: 105.2 kB / 18.99 MB, free: 2.758 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.001669/0.001669, allocations: 215.3 kB / 22.28 MB, free: 5.156 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.605/1.605, allocations: 230.6 MB / 256.1 MB, free: 7.789 MB / 206.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 3.483/3.483, allocations: 0.49 GB / 0.7952 GB, free: 35.41 MB / 0.6231 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.002081/0.002081, allocations: 69.02 kB / 1.154 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4849, allocations: 176.1 MB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3035/0.7884, allocations: 199.9 MB / 1.522 GB, free: 8.379 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02506/0.8134, allocations: 11.84 MB / 1.533 GB, free: 12.52 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004122/0.8176, allocations: 91.25 kB / 1.533 GB, free: 12.43 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.8216, allocations: 1.162 MB / 1.534 GB, free: 11.27 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.8329, allocations: 3.296 MB / 1.538 GB, free: 7.961 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006441/0.8394, allocations: 1.845 MB / 1.539 GB, free: 6.125 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.008482/0.8479, allocations: 4.206 MB / 1.543 GB, free: 1.91 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002951/0.8508, allocations: 1.117 MB / 1.545 GB, free: 0.7539 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007456/0.8583, allocations: 2.208 MB / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.8622, allocations: 1.379 MB / 1.548 GB, free: 13.16 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005143/0.8627, allocations: 180 kB / 1.548 GB, free: 12.98 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006699/0.8694, allocations: 2.292 MB / 1.55 GB, free: 10.68 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001786/0.8712, allocations: 0.9774 MB / 1.551 GB, free: 9.703 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002714/0.8739, allocations: 1.065 MB / 1.552 GB, free: 8.633 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.8853, allocations: 4.383 MB / 1.557 GB, free: 4.234 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.8853, allocations: 3.938 kB / 1.557 GB, free: 4.23 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8853, allocations: 0 / 1.557 GB, free: 4.23 MB / 1.248 GB Notification: Performance of Transformations before backend: time 8.902e-05/0.8854, allocations: 0 / 1.557 GB, free: 4.23 MB / 1.248 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.008627/0.894, allocations: 3.097 MB / 1.56 GB, free: 1.07 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.8941, allocations: 12.03 kB / 1.56 GB, free: 1.059 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.8988, allocations: 0.8022 MB / 1.561 GB, free: 260 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.9043, allocations: 2.471 MB / 1.563 GB, free: 13.72 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.9044, allocations: 145.5 kB / 1.563 GB, free: 13.57 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.9047, allocations: 112 kB / 1.563 GB, free: 13.46 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00441/0.9091, allocations: 2.241 MB / 1.565 GB, free: 11.1 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.9091, allocations: 0 / 1.565 GB, free: 11.1 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.9092, allocations: 47.98 kB / 1.565 GB, free: 11.05 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/0.9093, allocations: 42.08 kB / 1.565 GB, free: 11.01 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005359/0.9146, allocations: 2.616 MB / 1.568 GB, free: 8.375 MB / 1.264 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.01414/0.9288, allocations: 6.635 MB / 1.575 GB, free: 1.625 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/0.9331, allocations: 1.994 MB / 1.576 GB, free: 15.61 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/0.9352, allocations: 0.9529 MB / 1.577 GB, free: 14.64 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/0.9359, allocations: 164.5 kB / 1.578 GB, free: 14.48 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/0.9381, allocations: 1.182 MB / 1.579 GB, free: 13.23 MB / 1.279 GB Notification: Performance of pre-optimization done (n=91): time 4.598e-06/0.9381, allocations: 0 / 1.579 GB, free: 13.23 MB / 1.279 GB Notification: Performance of matching and sorting (n=91): time 0.02423/0.9624, allocations: 5.729 MB / 1.584 GB, free: 7.449 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.9625, allocations: 145.2 kB / 1.584 GB, free: 7.277 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006245/0.9687, allocations: 3.71 MB / 1.588 GB, free: 3.543 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002172/0.969, allocations: 49.64 kB / 1.588 GB, free: 3.488 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.9701, allocations: 1.034 MB / 1.589 GB, free: 2.445 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004148/0.9705, allocations: 313.3 kB / 1.589 GB, free: 2.137 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/0.971, allocations: 218.5 kB / 1.59 GB, free: 1.918 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.9712, allocations: 349.9 kB / 1.59 GB, free: 1.57 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.9734, allocations: 1.157 MB / 1.591 GB, free: 412 kB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00264/0.976, allocations: 1.592 MB / 1.593 GB, free: 14.67 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004116/0.9801, allocations: 2.179 MB / 1.595 GB, free: 12.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.9801, allocations: 4 kB / 1.595 GB, free: 12.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008939/0.9891, allocations: 3.727 MB / 1.598 GB, free: 8.625 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-05/0.9892, allocations: 72.8 kB / 1.598 GB, free: 8.543 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.9892, allocations: 4 kB / 1.599 GB, free: 8.539 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004839/0.994, allocations: 1.925 MB / 1.6 GB, free: 6.602 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.9951, allocations: 183.8 kB / 1.601 GB, free: 6.422 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022/2.017, allocations: 6.351 MB / 1.607 GB, free: 278.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/2.02, allocations: 194.4 kB / 1.607 GB, free: 278.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/2.02, allocations: 49.98 kB / 1.607 GB, free: 278.9 MB / 1.295 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.001603/2.022, allocations: 0.6461 MB / 1.608 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/2.022, allocations: 238.2 kB / 1.608 GB, free: 278.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009327/2.032, allocations: 3.237 MB / 1.611 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/2.032, allocations: 9.625 kB / 1.611 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/2.032, allocations: 1.031 kB / 1.611 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/2.032, allocations: 7.922 kB / 1.611 GB, free: 278.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/2.045, allocations: 5.17 MB / 1.616 GB, free: 276.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/2.045, allocations: 2.344 kB / 1.616 GB, free: 276.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/2.046, allocations: 99.02 kB / 1.616 GB, free: 276.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005696/2.052, allocations: 1.914 MB / 1.618 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/2.052, allocations: 35.33 kB / 1.618 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009719/2.062, allocations: 6.317 MB / 1.624 GB, free: 271.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/2.062, allocations: 3.344 kB / 1.624 GB, free: 271.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009256/2.071, allocations: 3.304 MB / 1.627 GB, free: 270.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/2.073, allocations: 421.6 kB / 1.628 GB, free: 270.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004475/2.073, allocations: 25.92 kB / 1.628 GB, free: 270.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/2.075, allocations: 116.2 kB / 1.628 GB, free: 270.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/2.075, allocations: 78.41 kB / 1.628 GB, free: 270.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/2.075, allocations: 47.53 kB / 1.628 GB, free: 270.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005229/2.081, allocations: 2.714 MB / 1.631 GB, free: 269.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.21e-07/2.081, allocations: 1.031 kB / 1.631 GB, free: 269.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003634/2.084, allocations: 0.7405 MB / 1.632 GB, free: 269.4 MB / 1.295 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.001322/2.086, allocations: 490.8 kB / 1.632 GB, free: 269.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005957/2.092, allocations: 2.668 MB / 1.635 GB, free: 268.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/2.092, allocations: 1.156 kB / 1.635 GB, free: 268.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/2.095, allocations: 1.396 MB / 1.636 GB, free: 267.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/2.099, allocations: 0.8075 MB / 1.637 GB, free: 267.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/2.11, allocations: 4.772 MB / 1.641 GB, free: 264.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/2.111, allocations: 1.107 MB / 1.642 GB, free: 264.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001717/2.113, allocations: 342.3 kB / 1.643 GB, free: 264.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/2.113, allocations: 123.5 kB / 1.643 GB, free: 264.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.493e-06/2.113, allocations: 0 / 1.643 GB, free: 264.6 MB / 1.295 GB Notification: Performance of Templates: time 0.06822/2.182, allocations: 48.19 MB / 1.69 GB, free: 219.6 MB / 1.295 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 -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: 13.486489070113748]