Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.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.001421/0.001421, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00155/0.00155, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9362/0.9362, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.369/2.369, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaDev.uPla|enaDev.uChiWatPum.[0-9,]+.|enaDev.uConWatPum.[0-9,]+.|enaDev.uIni|enaDev.uChiSta|enaDev.yEnaPlaPro|enaDev.yChiWatIsoVal|enaDev.yConWatIsoVal|enaDev.yLeaPriChiPum|enaDev.yLeaConPum|enaDev.yLeaChi",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaDev.uPla|enaDev.uChiWatPum.[0-9,]+.|enaDev.uConWatPum.[0-9,]+.|enaDev.uIni|enaDev.uChiSta|enaDev.yEnaPlaPro|enaDev.yChiWatIsoVal|enaDev.yConWatIsoVal|enaDev.yLeaPriChiPum|enaDev.yLeaConPum|enaDev.yLeaChi",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.283e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices): time 0.002093/0.002126, allocations: 1.032 MB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.003838, allocations: 1.439 MB / 0.8922 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.003953, allocations: 3.938 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.004112, allocations: 39.66 kB / 0.8923 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.004163, allocations: 35.66 kB / 0.8923 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.00481, allocations: 359.2 kB / 0.8926 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.005157, allocations: 427.9 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.005402, allocations: 114.8 kB / 0.8932 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.005625, allocations: 251.6 kB / 0.8934 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.005796, allocations: 123.6 kB / 0.8935 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.005841, allocations: 36 kB / 0.8935 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.005921, allocations: 40 kB / 0.8936 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.005973, allocations: 71.73 kB / 0.8936 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.006074, allocations: 119.7 kB / 0.8938 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.006361, allocations: 291.1 kB / 0.894 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.006365, allocations: 4 kB / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.784e-06/0.006367, allocations: 0 / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.006372, allocations: 0 / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006207/0.006992, allocations: 0.6499 MB / 0.8947 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.007033, allocations: 8.031 kB / 0.8947 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.007116, allocations: 56.78 kB / 0.8947 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.007326, allocations: 212.1 kB / 0.8949 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.007351, allocations: 20.88 kB / 0.895 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.007388, allocations: 44.3 kB / 0.895 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.007557, allocations: 153.4 kB / 0.8952 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.007565, allocations: 192 / 0.8952 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.00758, allocations: 16.36 kB / 0.8952 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.007588, allocations: 8.375 kB / 0.8952 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.007659, allocations: 59.39 kB / 0.8952 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.008312, allocations: 0.7729 MB / 0.896 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.008463, allocations: 71.02 kB / 0.8961 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.008485, allocations: 23.67 kB / 0.8961 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.008493, allocations: 8 kB / 0.8961 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.00862, allocations: 113 kB / 0.8962 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.008623, allocations: 0 / 0.8962 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002171/0.00884, allocations: 164 kB / 0.8963 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.00888, allocations: 55.41 kB / 0.8964 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.00903, allocations: 258.6 kB / 0.8966 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.00906, allocations: 33.7 kB / 0.8967 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.009163, allocations: 215.3 kB / 0.8969 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.009185, allocations: 39.73 kB / 0.8969 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.009284, allocations: 111.2 kB / 0.897 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.009408, allocations: 0.4962 MB / 0.8975 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.009534, allocations: 165 kB / 0.8977 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.01029, allocations: 273.2 kB / 0.8979 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.01049, allocations: 294.5 kB / 0.8982 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.01049, allocations: 7.938 kB / 0.8982 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003979/0.01089, allocations: 489.9 kB / 0.8987 GB, free: 148 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/0.01095, allocations: 97.09 kB / 0.8988 GB, free: 32 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01096, allocations: 4 kB / 0.8988 GB, free: 28 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.01097, allocations: 4 kB / 0.8988 GB, free: 24 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.01102, allocations: 19.92 kB / 0.8988 GB, free: 4 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/0.01104, allocations: 8.031 kB / 0.8988 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.01126, allocations: 71.78 kB / 0.8989 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.01129, allocations: 20.02 kB / 0.8989 GB, free: 15.91 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul2.y,$PRE.booPul2.y,intSwi.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,enaDev.enaPro.y,$PRE.enaDev.enaPro.y,enaDev.enaPro.clr,enaDev.enaPro.u,enaDev.yLeaChi,$whenCondition7,$whenCondition8,enaDev.intChiMod.y,enaDev.conInt.y,conInt.y,con.y,conInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 3 * 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 0.00012/0.01141, allocations: 188.4 kB / 0.8991 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.01143, allocations: 19.91 kB / 0.8991 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.01147, allocations: 21.8 kB / 0.8991 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01147, allocations: 4 kB / 0.8991 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01148, allocations: 0 / 0.8991 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01148, allocations: 3.938 kB / 0.8991 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.01185, allocations: 422 kB / 0.8995 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.01186, allocations: 8 kB / 0.8995 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.01188, allocations: 7.984 kB / 0.8995 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01188, allocations: 0 / 0.8995 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.01189, allocations: 8 kB / 0.8996 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01189, allocations: 3.938 kB / 0.8996 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.0119, allocations: 0 / 0.8996 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.01207, allocations: 288.1 kB / 0.8998 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01208, allocations: 11.91 kB / 0.8998 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.0121, allocations: 4 kB / 0.8998 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.01214, allocations: 4 kB / 0.8999 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.01218, allocations: 19.97 kB / 0.8999 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.01219, allocations: 4 kB / 0.8999 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.01226, allocations: 156.6 kB / 0.9 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01226, allocations: 0 / 0.9 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002426/0.0125, allocations: 75.78 kB / 0.9001 GB, free: 14.61 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (enaDev.enaPro.clr,enaDev.enaPro.u,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaDev.yLeaChi,enaDev.enaPro.y,booPul.y,booPul1.y,intSwi.y,booPul2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001531/0.01265, allocations: 111.2 kB / 0.9002 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.01296, allocations: 433.7 kB / 0.9006 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01296, allocations: 0 / 0.9006 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.01301, allocations: 43.61 kB / 0.9007 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.01326, allocations: 39.84 kB / 0.9007 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.01372, allocations: 359.4 kB / 0.901 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.762e-05/0.01378, allocations: 75.98 kB / 0.9011 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.167e-05/0.01384, allocations: 29.73 kB / 0.9011 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.01399, allocations: 134.2 kB / 0.9013 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.01399, allocations: 0 / 0.9013 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of Templates: time 0.005614/0.0196, allocations: 3.455 MB / 0.9046 GB, free: 9.953 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Generic_PlantEnable_Validation_EnableDevices.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.255373803898692]