Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001275/0.001275, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001499/0.001499, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 0.9737/0.9737, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.802/1.802, allocations: 377.8 MB / 0.6236 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.206e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002434/0.002456, allocations: 2.106 MB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.004145, allocations: 1.369 MB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.00424, allocations: 3.938 kB / 0.8149 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.004777, allocations: 243.6 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007526/0.005529, allocations: 444.7 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 5.229e-06/0.005535, allocations: 5.219 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.005827, allocations: 402.3 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.00587, allocations: 8.594 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.006, allocations: 196.4 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.00616, allocations: 183.4 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.006188, allocations: 24 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.00657, allocations: 284.5 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.006793, allocations: 391.1 kB / 0.817 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.006936, allocations: 195.4 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000552/0.007488, allocations: 0.6401 MB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.007491, allocations: 0 / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.007491, allocations: 0 / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.007498, allocations: 0 / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008007/0.008299, allocations: 1.013 MB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.008336, allocations: 12.03 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/0.008701, allocations: 128.4 kB / 0.819 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.009122, allocations: 0.5095 MB / 0.8195 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.009138, allocations: 8.375 kB / 0.8195 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.009159, allocations: 19.81 kB / 0.8195 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.009564, allocations: 172.1 kB / 0.8197 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.009572, allocations: 4.125 kB / 0.8197 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.009589, allocations: 8.375 kB / 0.8197 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.009597, allocations: 3.938 kB / 0.8197 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.009826, allocations: 164.5 kB / 0.8198 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.01091, allocations: 1.063 MB / 0.8209 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.01121, allocations: 145.2 kB / 0.821 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.01129, allocations: 59.66 kB / 0.8211 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.01133, allocations: 23.98 kB / 0.8211 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.01135, allocations: 33.39 kB / 0.8211 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.01135, allocations: 0.5938 kB / 0.8211 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0003622/0.01171, allocations: 232.6 kB / 0.8213 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.01175, allocations: 59.28 kB / 0.8214 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007184/0.01246, allocations: 1.044 MB / 0.8224 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.01248, allocations: 25.7 kB / 0.8224 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.01269, allocations: 422.9 kB / 0.8228 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.01273, allocations: 67.42 kB / 0.8229 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.0128, allocations: 63.36 kB / 0.823 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.01291, allocations: 497.2 kB / 0.8234 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.01301, allocations: 63.95 kB / 0.8235 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.01312, allocations: 84.27 kB / 0.8236 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.01331, allocations: 154.2 kB / 0.8237 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.01332, allocations: 0 / 0.8237 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003328/0.01365, allocations: 294 kB / 0.824 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01367, allocations: 8 kB / 0.824 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01367, allocations: 0 / 0.824 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01368, allocations: 1.688 kB / 0.824 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.01385, allocations: 63.84 kB / 0.8241 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01386, allocations: 0 / 0.8241 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.01399, allocations: 35.39 kB / 0.8241 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.01401, allocations: 15.98 kB / 0.8241 GB, free: 4.625 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.877e-05/0.01411, allocations: 160.5 kB / 0.8243 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.01418, allocations: 79.53 kB / 0.8244 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.01446, allocations: 207.9 kB / 0.8246 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01446, allocations: 0 / 0.8246 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.01447, allocations: 4.875 kB / 0.8246 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.01448, allocations: 7.969 kB / 0.8246 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.01545, allocations: 1.17 MB / 0.8257 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01545, allocations: 4 kB / 0.8257 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.01556, allocations: 53.02 kB / 0.8258 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01557, allocations: 4 kB / 0.8258 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01558, allocations: 9.344 kB / 0.8258 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.01559, allocations: 11.88 kB / 0.8258 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01559, allocations: 4 kB / 0.8258 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.01592, allocations: 415.5 kB / 0.8262 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.01598, allocations: 76.59 kB / 0.8263 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.01603, allocations: 11.98 kB / 0.8263 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.01616, allocations: 20.59 kB / 0.8263 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.0162, allocations: 31.84 kB / 0.8263 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.01621, allocations: 11.44 kB / 0.8263 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006209/0.01683, allocations: 0.7138 MB / 0.827 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01683, allocations: 4 kB / 0.827 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003404/0.01717, allocations: 171.9 kB / 0.8272 GB, free: 1.258 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002292/0.0174, allocations: 175 kB / 0.8274 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.01765, allocations: 162.5 kB / 0.8275 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01766, allocations: 0 / 0.8275 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.334e-05/0.01774, allocations: 70.44 kB / 0.8276 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.01818, allocations: 187.3 kB / 0.8278 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.01977, allocations: 1.348 MB / 0.8291 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.01989, allocations: 209.4 kB / 0.8293 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.02003, allocations: 64.39 kB / 0.8293 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.02011, allocations: 48.48 kB / 0.8294 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of SimCode: time 1.022e-06/0.02011, allocations: 4 kB / 0.8294 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of Templates: time 0.01438/0.03449, allocations: 11.57 MB / 0.8407 GB, free: 3.551 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.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: 5.006559039931744]