Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.0008346/0.0008346, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001271/0.001271, allocations: 161.4 kB / 24.17 MB, free: 328 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 0.9709/0.9709, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.083/2.083, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.713e-05, allocations: 2.312 kB / 0.76 GB, free: 6.586 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderReal.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.007666/0.007693, allocations: 0.9598 MB / 0.761 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.01236, allocations: 1.228 MB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.01245, allocations: 4 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.01258, allocations: 27.22 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.133e-05/0.01265, allocations: 21.89 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.01305, allocations: 137 kB / 0.7624 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.01327, allocations: 177.7 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.01337, allocations: 30.2 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.01348, allocations: 85.22 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.271e-05/0.01357, allocations: 39.83 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.0136, allocations: 16 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.01367, allocations: 27.92 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.0137, allocations: 25.16 kB / 0.7627 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.01375, allocations: 43.86 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.01419, allocations: 115.7 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.01419, allocations: 1.25 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01419, allocations: 0 / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.0142, allocations: 0 / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004005/0.0146, allocations: 338.2 kB / 0.7632 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.01463, allocations: 9 kB / 0.7632 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.01468, allocations: 16.92 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.01793, allocations: 152.7 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.01795, allocations: 4.375 kB / 0.7634 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.01797, allocations: 8.375 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.01809, allocations: 90.28 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.0181, allocations: 192 / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.01811, allocations: 1.594 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.01811, allocations: 4.312 kB / 0.7635 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.121e-05/0.01815, allocations: 23.86 kB / 0.7635 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.01851, allocations: 370 kB / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.01856, allocations: 18.58 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.01857, allocations: 12.86 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.01858, allocations: 0.5625 kB / 0.7639 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.731e-05/0.01866, allocations: 64.03 kB / 0.764 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.01867, allocations: 0 / 0.764 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001402/0.01881, allocations: 58.42 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.01884, allocations: 51.41 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.01894, allocations: 155.5 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01896, allocations: 25.7 kB / 0.7642 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.01902, allocations: 108 kB / 0.7643 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.01903, allocations: 11.94 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.549e-05/0.01909, allocations: 25.7 kB / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.01918, allocations: 323.5 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.01924, allocations: 47.03 kB / 0.7647 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.0193, allocations: 72.25 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.889e-05/0.01938, allocations: 78.62 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01938, allocations: 64 / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001631/0.01954, allocations: 160.9 kB / 0.765 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.01958, allocations: 42.78 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01959, allocations: 0 / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.0196, allocations: 0 / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.01964, allocations: 6.906 kB / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.01964, allocations: 0 / 0.7651 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.01976, allocations: 23.94 kB / 0.7651 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.01977, allocations: 4 kB / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 7.303e-05/0.01985, allocations: 117.8 kB / 0.7652 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.01986, allocations: 7.938 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.01988, allocations: 12.98 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.01989, allocations: 0 / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01989, allocations: 1.312 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.01989, allocations: 0 / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.246e-05/0.01998, allocations: 89.86 kB / 0.7653 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01999, allocations: 3.25 kB / 0.7653 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.02, allocations: 11.88 kB / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02001, allocations: 3.938 kB / 0.7653 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.02001, allocations: 3.984 kB / 0.7653 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.02002, allocations: 0 / 0.7653 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02002, allocations: 0 / 0.7653 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.969e-05/0.0201, allocations: 69.12 kB / 0.7654 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.02011, allocations: 3.953 kB / 0.7654 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.02012, allocations: 11.92 kB / 0.7654 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.02014, allocations: 3.031 kB / 0.7654 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.02016, allocations: 4 kB / 0.7654 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.02016, allocations: 0 / 0.7654 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.0202, allocations: 40.67 kB / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0202, allocations: 0 / 0.7655 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001791/0.02038, allocations: 19.94 kB / 0.7655 GB, free: 0.7734 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001228/0.0205, allocations: 88.64 kB / 0.7656 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.02371, allocations: 143.3 kB / 0.7657 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.02371, allocations: 0 / 0.7657 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.02374, allocations: 20.78 kB / 0.7657 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.02391, allocations: 21.27 kB / 0.7657 GB, free: 488 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.02425, allocations: 180.9 kB / 0.7659 GB, free: 284 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.02428, allocations: 59.94 kB / 0.766 GB, free: 204 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.02431, allocations: 9.438 kB / 0.766 GB, free: 192 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.02441, allocations: 67.36 kB / 0.7661 GB, free: 124 kB / 0.7136 GB Notification: Performance of SimCode: time 1.243e-06/0.02441, allocations: 4.688 kB / 0.7661 GB, free: 120 kB / 0.7136 GB Notification: Performance of Templates: time 0.004143/0.02855, allocations: 1.664 MB / 0.7677 GB, free: 14.56 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.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.3505231738090515]