Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002103/0.002103, allocations: 79.73 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.002502/0.002502, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.456/1.456, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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 2.944/2.944, allocations: 394.2 MB / 0.6386 GB, free: 11.97 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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_latest_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_latest_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.002257/0.002257, allocations: 63.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8737/0.8759, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2518/1.128, allocations: 199.9 MB / 1.382 GB, free: 13.82 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02041/1.148, allocations: 11.82 MB / 1.393 GB, free: 1.969 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/1.151, allocations: 99.19 kB / 1.393 GB, free: 1.871 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003466/1.155, allocations: 1.154 MB / 1.395 GB, free: 0.7109 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/1.165, allocations: 3.302 MB / 1.398 GB, free: 13.39 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005622/1.171, allocations: 1.847 MB / 1.4 GB, free: 11.56 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.006753/1.178, allocations: 4.208 MB / 1.404 GB, free: 7.34 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/1.18, allocations: 1.114 MB / 1.405 GB, free: 6.191 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00539/1.185, allocations: 2.215 MB / 1.407 GB, free: 3.969 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/1.188, allocations: 1.394 MB / 1.408 GB, free: 2.574 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000326/1.188, allocations: 176 kB / 1.408 GB, free: 2.402 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/1.193, allocations: 2.284 MB / 1.411 GB, free: 116 kB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/1.194, allocations: 0.9776 MB / 1.412 GB, free: 15.13 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/1.196, allocations: 1.069 MB / 1.413 GB, free: 14.05 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.006506/1.202, allocations: 4.387 MB / 1.417 GB, free: 9.656 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.202, allocations: 4 kB / 1.417 GB, free: 9.652 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.864e-06/1.202, allocations: 0 / 1.417 GB, free: 9.652 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.412e-05/1.202, allocations: 4 kB / 1.417 GB, free: 9.648 MB / 1.264 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.005607/1.208, allocations: 3.093 MB / 1.42 GB, free: 6.492 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.208, allocations: 12.03 kB / 1.42 GB, free: 6.48 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004641/1.212, allocations: 0.7983 MB / 1.421 GB, free: 5.68 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/1.217, allocations: 2.483 MB / 1.423 GB, free: 3.137 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/1.217, allocations: 141.5 kB / 1.423 GB, free: 2.984 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/1.217, allocations: 116 kB / 1.423 GB, free: 2.871 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/1.221, allocations: 2.234 MB / 1.426 GB, free: 0.5234 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/1.221, allocations: 3.938 kB / 1.426 GB, free: 0.5195 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/1.221, allocations: 48 kB / 1.426 GB, free: 484 kB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.468e-05/1.221, allocations: 42.08 kB / 1.426 GB, free: 440 kB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005058/1.226, allocations: 2.616 MB / 1.428 GB, free: 13.79 MB / 1.279 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.01194/1.238, allocations: 6.62 MB / 1.435 GB, free: 7.059 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004416/1.243, allocations: 2.002 MB / 1.437 GB, free: 5.035 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/1.245, allocations: 0.9526 MB / 1.438 GB, free: 4.066 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008207/1.246, allocations: 164.5 kB / 1.438 GB, free: 3.906 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002327/1.248, allocations: 1.179 MB / 1.439 GB, free: 2.668 MB / 1.279 GB Notification: Performance of pre-optimization done (n=91): time 3.076e-06/1.248, allocations: 0 / 1.439 GB, free: 2.668 MB / 1.279 GB Notification: Performance of matching and sorting (n=91): time 0.02427/1.272, allocations: 5.733 MB / 1.445 GB, free: 12.88 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.272, allocations: 149.1 kB / 1.445 GB, free: 12.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006742/1.279, allocations: 3.71 MB / 1.448 GB, free: 8.969 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/1.279, allocations: 45.7 kB / 1.448 GB, free: 8.918 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/1.28, allocations: 1.034 MB / 1.449 GB, free: 7.875 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/1.281, allocations: 309.4 kB / 1.45 GB, free: 7.57 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/1.281, allocations: 218.5 kB / 1.45 GB, free: 7.352 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002362/1.281, allocations: 349.9 kB / 1.45 GB, free: 7.004 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/1.284, allocations: 1.153 MB / 1.451 GB, free: 5.84 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/1.286, allocations: 1.589 MB / 1.453 GB, free: 4.105 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003992/1.29, allocations: 2.186 MB / 1.455 GB, free: 1.836 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.29, allocations: 4 kB / 1.455 GB, free: 1.832 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00878/1.299, allocations: 3.727 MB / 1.459 GB, free: 14.05 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 7.735e-05/1.299, allocations: 71.39 kB / 1.459 GB, free: 13.97 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.299, allocations: 4 kB / 1.459 GB, free: 13.97 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004835/1.304, allocations: 1.925 MB / 1.461 GB, free: 12.03 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/1.305, allocations: 179.7 kB / 1.461 GB, free: 11.86 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009691/1.315, allocations: 6.358 MB / 1.467 GB, free: 5.238 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/1.317, allocations: 195.6 kB / 1.467 GB, free: 5.047 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/1.317, allocations: 55.97 kB / 1.467 GB, free: 4.992 MB / 1.311 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.001228/1.318, allocations: 0.6613 MB / 1.468 GB, free: 4.309 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/1.319, allocations: 234.5 kB / 1.468 GB, free: 4.078 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008716/1.328, allocations: 3.228 MB / 1.471 GB, free: 0.8008 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/1.328, allocations: 15.98 kB / 1.471 GB, free: 0.7852 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.328, allocations: 96 / 1.471 GB, free: 0.7852 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.328, allocations: 7.922 kB / 1.471 GB, free: 0.7773 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.341, allocations: 5.169 MB / 1.476 GB, free: 11.5 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/1.341, allocations: 11.94 kB / 1.476 GB, free: 11.48 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006974/1.342, allocations: 100.2 kB / 1.476 GB, free: 11.39 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004674/1.346, allocations: 1.905 MB / 1.478 GB, free: 9.469 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.346, allocations: 39.97 kB / 1.478 GB, free: 9.43 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009362/1.356, allocations: 6.32 MB / 1.485 GB, free: 2.855 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/1.356, allocations: 4 kB / 1.485 GB, free: 2.852 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008567/1.364, allocations: 3.298 MB / 1.488 GB, free: 15.46 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.366, allocations: 418.1 kB / 1.488 GB, free: 15.05 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005744/1.366, allocations: 28 kB / 1.488 GB, free: 15.02 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/1.368, allocations: 111.9 kB / 1.488 GB, free: 14.91 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/1.368, allocations: 76.41 kB / 1.488 GB, free: 14.84 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.368, allocations: 43.97 kB / 1.488 GB, free: 14.8 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.004551/1.373, allocations: 2.721 MB / 1.491 GB, free: 12.06 MB / 1.342 GB Notification: Performance of sort global known variables: time 1.41e-07/1.373, allocations: 0 / 1.491 GB, free: 12.06 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.002868/1.376, allocations: 0.7409 MB / 1.492 GB, free: 11.32 MB / 1.342 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.001392/1.377, allocations: 490.2 kB / 1.492 GB, free: 10.83 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.005685/1.383, allocations: 2.669 MB / 1.495 GB, free: 8.09 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.383, allocations: 0 / 1.495 GB, free: 8.09 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.002877/1.386, allocations: 1.394 MB / 1.496 GB, free: 6.629 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004377/1.39, allocations: 0.7992 MB / 1.497 GB, free: 5.836 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.401, allocations: 4.794 MB / 1.502 GB, free: 0.9648 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001845/1.403, allocations: 1.11 MB / 1.503 GB, free: 15.82 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001473/1.404, allocations: 327.6 kB / 1.503 GB, free: 15.5 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005122/1.405, allocations: 124.5 kB / 1.503 GB, free: 15.38 MB / 1.357 GB Notification: Performance of SimCode: time 1.442e-06/1.405, allocations: 4 kB / 1.503 GB, free: 15.37 MB / 1.357 GB Notification: Performance of Templates: time 0.07994/1.485, allocations: 44.61 MB / 1.547 GB, free: 3.539 MB / 1.389 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.180843429989181]