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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.893/2.893, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 64.14 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3106/1.339, allocations: 226.4 MB / 1.526 GB, free: 5.926 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02216/1.362, allocations: 12.74 MB / 1.539 GB, free: 9.156 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/1.365, allocations: 67.62 kB / 1.539 GB, free: 9.09 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003413/1.368, allocations: 1.228 MB / 1.54 GB, free: 7.855 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009059/1.377, allocations: 3.274 MB / 1.543 GB, free: 4.57 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005241/1.382, allocations: 1.852 MB / 1.545 GB, free: 2.73 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.007004/1.389, allocations: 4.177 MB / 1.549 GB, free: 14.54 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/1.392, allocations: 1.125 MB / 1.55 GB, free: 13.38 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005935/1.398, allocations: 2.148 MB / 1.552 GB, free: 11.22 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003075/1.401, allocations: 1.475 MB / 1.554 GB, free: 9.746 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004156/1.401, allocations: 180 kB / 1.554 GB, free: 9.57 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006534/1.408, allocations: 2.791 MB / 1.557 GB, free: 6.773 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/1.409, allocations: 0.9813 MB / 1.558 GB, free: 5.789 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001994/1.411, allocations: 1.321 MB / 1.559 GB, free: 4.461 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.009537/1.42, allocations: 4.414 MB / 1.563 GB, free: 32 kB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/1.42, allocations: 0 / 1.563 GB, free: 32 kB / 1.232 GB Notification: Performance of FrontEnd: time 8.32e-07/1.42, allocations: 0 / 1.563 GB, free: 32 kB / 1.232 GB Notification: Performance of Transformations before backend: time 6.606e-05/1.42, allocations: 4 kB / 1.563 GB, free: 28 kB / 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.006591/1.427, allocations: 3.16 MB / 1.566 GB, free: 12.79 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.427, allocations: 12.03 kB / 1.566 GB, free: 12.77 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/1.432, allocations: 0.7983 MB / 1.567 GB, free: 11.97 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004873/1.436, allocations: 2.547 MB / 1.57 GB, free: 9.355 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/1.437, allocations: 115.8 kB / 1.57 GB, free: 9.234 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/1.437, allocations: 108 kB / 1.57 GB, free: 9.129 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00394/1.441, allocations: 2.05 MB / 1.572 GB, free: 7.008 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.441, allocations: 3.938 kB / 1.572 GB, free: 7.004 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/1.441, allocations: 48 kB / 1.572 GB, free: 6.957 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-05/1.441, allocations: 46.06 kB / 1.572 GB, free: 6.91 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004647/1.446, allocations: 2.558 MB / 1.575 GB, free: 4.344 MB / 1.248 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.01484/1.46, allocations: 8.149 MB / 1.582 GB, free: 11.88 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/1.465, allocations: 2.103 MB / 1.585 GB, free: 9.73 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/1.466, allocations: 0.8909 MB / 1.585 GB, free: 8.84 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/1.468, allocations: 1.061 MB / 1.586 GB, free: 7.559 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002124/1.47, allocations: 1.012 MB / 1.587 GB, free: 6.52 MB / 1.264 GB Notification: Performance of pre-optimization done (n=91): time 3.306e-06/1.47, allocations: 0 / 1.587 GB, free: 6.52 MB / 1.264 GB Notification: Performance of matching and sorting (n=91): time 0.02345/1.493, allocations: 5.936 MB / 1.593 GB, free: 488 kB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.493, allocations: 149.1 kB / 1.593 GB, free: 308 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006618/1.5, allocations: 3.977 MB / 1.597 GB, free: 12.31 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003069/1.5, allocations: 45.7 kB / 1.597 GB, free: 12.26 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.501, allocations: 1.02 MB / 1.598 GB, free: 11.23 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/1.502, allocations: 305.4 kB / 1.599 GB, free: 10.93 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/1.502, allocations: 222.5 kB / 1.599 GB, free: 10.71 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.503, allocations: 353.8 kB / 1.599 GB, free: 10.36 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/1.505, allocations: 1.088 MB / 1.6 GB, free: 9.273 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/1.507, allocations: 1.301 MB / 1.601 GB, free: 7.898 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/1.511, allocations: 2.175 MB / 1.604 GB, free: 5.637 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/1.511, allocations: 0 / 1.604 GB, free: 5.637 MB / 1.279 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008547/1.519, allocations: 3.677 MB / 1.607 GB, free: 1.926 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.52, allocations: 71.39 kB / 1.607 GB, free: 1.844 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.52, allocations: 4 kB / 1.607 GB, free: 1.84 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004696/1.524, allocations: 1.924 MB / 1.609 GB, free: 15.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.525, allocations: 179.7 kB / 1.609 GB, free: 15.73 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00955/1.535, allocations: 6.636 MB / 1.616 GB, free: 8.758 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/1.537, allocations: 235.2 kB / 1.616 GB, free: 8.527 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/1.538, allocations: 55.92 kB / 1.616 GB, free: 8.473 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.001469/1.539, allocations: 0.6529 MB / 1.617 GB, free: 7.797 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000894/1.54, allocations: 262.3 kB / 1.617 GB, free: 7.539 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008401/1.548, allocations: 3.179 MB / 1.62 GB, free: 4.316 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-05/1.548, allocations: 8 kB / 1.62 GB, free: 4.309 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.548, allocations: 0 / 1.62 GB, free: 4.309 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.548, allocations: 3.984 kB / 1.62 GB, free: 4.305 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/1.563, allocations: 5.567 MB / 1.626 GB, free: 14.62 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.563, allocations: 8 kB / 1.626 GB, free: 14.61 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/1.563, allocations: 104.2 kB / 1.626 GB, free: 14.51 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004672/1.568, allocations: 1.908 MB / 1.627 GB, free: 12.59 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.568, allocations: 31.98 kB / 1.628 GB, free: 12.56 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009635/1.578, allocations: 6.597 MB / 1.634 GB, free: 5.625 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.578, allocations: 4 kB / 1.634 GB, free: 5.621 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008455/1.586, allocations: 3.253 MB / 1.637 GB, free: 2.293 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.588, allocations: 0.5185 MB / 1.638 GB, free: 1.754 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008052/1.589, allocations: 31.94 kB / 1.638 GB, free: 1.723 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.591, allocations: 108.9 kB / 1.638 GB, free: 1.617 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/1.591, allocations: 76.5 kB / 1.638 GB, free: 1.543 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.591, allocations: 43.97 kB / 1.638 GB, free: 1.5 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00592/1.597, allocations: 2.919 MB / 1.641 GB, free: 14.57 MB / 1.326 GB Notification: Performance of sort global known variables: time 1.3e-07/1.597, allocations: 0 / 1.641 GB, free: 14.57 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.004381/1.602, allocations: 0.7177 MB / 1.641 GB, free: 13.85 MB / 1.326 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.002545/1.604, allocations: 0.4996 MB / 1.642 GB, free: 13.36 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.008548/1.613, allocations: 2.541 MB / 1.644 GB, free: 10.77 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.613, allocations: 0 / 1.644 GB, free: 10.77 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/1.617, allocations: 1.317 MB / 1.646 GB, free: 9.402 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009904/1.627, allocations: 1.005 MB / 1.647 GB, free: 8.402 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.644, allocations: 4.75 MB / 1.651 GB, free: 3.594 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003239/1.647, allocations: 1.679 MB / 1.653 GB, free: 1.875 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002988/1.65, allocations: 369.7 kB / 1.653 GB, free: 1.512 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008788/1.651, allocations: 143.4 kB / 1.653 GB, free: 1.371 MB / 1.326 GB Notification: Performance of SimCode: time 1.813e-06/1.651, allocations: 0 / 1.653 GB, free: 1.371 MB / 1.326 GB Notification: Performance of Templates: time 0.1327/1.784, allocations: 51.77 MB / 1.704 GB, free: 14.17 MB / 1.389 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 400] 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/jenkins/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.81816394533962]