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.001007/0.001007, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001061/0.001061, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.041/1.041, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.203/2.203, allocations: 429.5 MB / 0.6743 GB, free: 3.945 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0.7656 kB / 0.8794 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.271e-05, allocations: 5.406 kB / 0.8794 GB, free: 4.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6327/0.6327, allocations: 158.4 MB / 1.034 GB, free: 19.12 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.648, allocations: 9.271 MB / 1.043 GB, free: 18.98 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003811/0.6518, allocations: 98.81 kB / 1.043 GB, free: 18.98 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.6542, allocations: 0.7827 MB / 1.044 GB, free: 18.96 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00712/0.6614, allocations: 2.429 MB / 1.046 GB, free: 18.87 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.6663, allocations: 1.847 MB / 1.048 GB, free: 18.84 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.006727/0.673, allocations: 4.257 MB / 1.052 GB, free: 18.07 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.6752, allocations: 1.178 MB / 1.054 GB, free: 17.93 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004886/0.6801, allocations: 2.273 MB / 1.056 GB, free: 17.71 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.6824, allocations: 1.236 MB / 1.057 GB, free: 17.56 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.6829, allocations: 179.1 kB / 1.057 GB, free: 17.56 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.6862, allocations: 1.293 MB / 1.058 GB, free: 17.5 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.6878, allocations: 1.032 MB / 1.059 GB, free: 17.36 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.6903, allocations: 0.8959 MB / 1.06 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.007167/0.6975, allocations: 2.764 MB / 1.063 GB, free: 16.85 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.6975, allocations: 0 / 1.063 GB, free: 16.85 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6975, allocations: 1.031 kB / 1.063 GB, free: 16.85 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001107/0.6976, allocations: 0 / 1.063 GB, free: 16.85 MB / 0.9323 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.005883/0.7035, allocations: 3.222 MB / 1.066 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.7035, allocations: 10.12 kB / 1.066 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.706, allocations: 0.8048 MB / 1.067 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.709, allocations: 1.747 MB / 1.069 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.7091, allocations: 154.8 kB / 1.069 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.7093, allocations: 118.3 kB / 1.069 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.7111, allocations: 1.156 MB / 1.07 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.7111, allocations: 2.062 kB / 1.07 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.7112, allocations: 48.03 kB / 1.07 GB, free: 13.88 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.469e-05/0.7113, allocations: 42.77 kB / 1.07 GB, free: 13.87 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.7124, allocations: 0.5968 MB / 1.071 GB, free: 13.76 MB / 0.9323 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.007941/0.7204, allocations: 5.064 MB / 1.076 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.7216, allocations: 0.5456 MB / 1.076 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.7222, allocations: 321.1 kB / 1.076 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003895/0.7226, allocations: 124 kB / 1.077 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006801/0.7232, allocations: 0.5409 MB / 1.077 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=89): time 3.947e-06/0.7232, allocations: 0 / 1.077 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=89): time 0.008878/0.7321, allocations: 2.505 MB / 1.08 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.7322, allocations: 147.6 kB / 1.08 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.7353, allocations: 2.246 MB / 1.082 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.7355, allocations: 45.33 kB / 1.082 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008992/0.7364, allocations: 1.201 MB / 1.083 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/0.7367, allocations: 305.2 kB / 1.083 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.737, allocations: 259.9 kB / 1.084 GB, free: 9.789 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.7371, allocations: 0.5241 MB / 1.084 GB, free: 9.309 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.7376, allocations: 261.4 kB / 1.084 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006747/0.7383, allocations: 0.9145 MB / 1.085 GB, free: 8.402 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7394, allocations: 0.9682 MB / 1.086 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.7394, allocations: 0 / 1.086 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002532/0.7419, allocations: 1.33 MB / 1.088 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.7419, allocations: 75.36 kB / 1.088 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.742, allocations: 9.281 kB / 1.088 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.7435, allocations: 0.5891 MB / 1.088 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007427/0.7443, allocations: 220.9 kB / 1.088 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.746, allocations: 2.999 MB / 1.091 GB, free: 4.844 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.7477, allocations: 172.8 kB / 1.091 GB, free: 4.781 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.7478, allocations: 51.77 kB / 1.092 GB, free: 4.781 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (108): * Single equations (assignments): 103 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0007812/0.7486, allocations: 300 kB / 1.092 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.7491, allocations: 264.8 kB / 1.092 GB, free: 4.426 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.7513, allocations: 1.218 MB / 1.093 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.7513, allocations: 10.75 kB / 1.093 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.7513, allocations: 0 / 1.093 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.7513, allocations: 6.641 kB / 1.093 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005129/0.7564, allocations: 2.686 MB / 1.096 GB, free: 3.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.7564, allocations: 2.594 kB / 1.096 GB, free: 3.52 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.7569, allocations: 118.8 kB / 1.096 GB, free: 3.516 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.7583, allocations: 0.5658 MB / 1.097 GB, free: 3.484 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.628e-05/0.7583, allocations: 26.3 kB / 1.097 GB, free: 3.484 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.7599, allocations: 3.01 MB / 1.1 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7599, allocations: 4.25 kB / 1.1 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.7623, allocations: 1.406 MB / 1.101 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/0.7633, allocations: 411.1 kB / 1.101 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/0.7635, allocations: 26.61 kB / 1.101 GB, free: 15.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/0.7644, allocations: 73.59 kB / 1.101 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.7645, allocations: 70.98 kB / 1.101 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/0.7646, allocations: 41.05 kB / 1.102 GB, free: 15.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001572/0.7662, allocations: 1.31 MB / 1.103 GB, free: 15.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7662, allocations: 0 / 1.103 GB, free: 15.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002163/0.7683, allocations: 0.6831 MB / 1.103 GB, free: 15.42 MB / 0.948 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 (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008746/0.7692, allocations: 391.8 kB / 1.104 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.7711, allocations: 1.115 MB / 1.105 GB, free: 14.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.7711, allocations: 2 kB / 1.105 GB, free: 14.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007432/0.7718, allocations: 0.6937 MB / 1.106 GB, free: 14.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.7745, allocations: 0.8463 MB / 1.106 GB, free: 14.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005974/0.7804, allocations: 3.893 MB / 1.11 GB, free: 12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.7809, allocations: 0.4981 MB / 1.111 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001248/0.7821, allocations: 283.7 kB / 1.111 GB, free: 11.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.7835, allocations: 0.7725 MB / 1.112 GB, free: 11.66 MB / 0.948 GB Notification: Performance of SimCode: time 2.635e-06/0.7835, allocations: 0 / 1.112 GB, free: 11.66 MB / 0.948 GB Notification: Performance of Templates: time 0.06352/0.847, allocations: 45.4 MB / 1.156 GB, free: 13.23 MB / 0.9792 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.387777405790985]