Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.0009236/0.0009236, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009402/0.0009402, allocations: 165 kB / 24.17 MB, free: 332 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.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.453 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.013/2.013, allocations: 377.9 MB / 0.624 GB, free: 8.387 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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.737e-05, allocations: 6.125 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001427/0.001444, allocations: 0.8085 MB / 0.7608 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.002638, allocations: 1.204 MB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.0027, allocations: 0 / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.002826, allocations: 26.2 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.11e-05/0.002857, allocations: 4.25 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.003203, allocations: 140.6 kB / 0.7622 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.003377, allocations: 124.1 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.003464, allocations: 23.95 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.003551, allocations: 69.52 kB / 0.7624 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.003634, allocations: 35.88 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.003656, allocations: 8 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.632e-05/0.003732, allocations: 23.98 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.00375, allocations: 8.812 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.003789, allocations: 35.91 kB / 0.7625 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.003932, allocations: 89.02 kB / 0.7626 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.003934, allocations: 3.938 kB / 0.7626 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003935, allocations: 0 / 0.7626 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.297e-06/0.003938, allocations: 0 / 0.7626 GB, free: 4.074 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003335/0.004271, allocations: 303.7 kB / 0.7629 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.004305, allocations: 12.03 kB / 0.7629 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.00434, allocations: 8.922 kB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.004523, allocations: 149.4 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.004539, allocations: 9.406 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.004554, allocations: 8.375 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.004652, allocations: 64.8 kB / 0.7631 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.004667, allocations: 4.719 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.004675, allocations: 384 / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.004682, allocations: 1.844 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.0047, allocations: 15.88 kB / 0.7631 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.004951, allocations: 348.6 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.336e-05/0.004984, allocations: 19.8 kB / 0.7635 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-06/0.004992, allocations: 4.859 kB / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-06/0.004994, allocations: 0 / 0.7635 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.557e-05/0.00507, allocations: 68.81 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.005071, allocations: 0 / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000106/0.005177, allocations: 49.67 kB / 0.7636 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.005209, allocations: 51.41 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.005292, allocations: 143 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.005309, allocations: 26.45 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.005352, allocations: 96.08 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.005373, allocations: 8.688 kB / 0.7639 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.005416, allocations: 33.69 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.005512, allocations: 315.5 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.08e-05/0.005552, allocations: 49.62 kB / 0.7643 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.607e-05/0.005599, allocations: 73.75 kB / 0.7644 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.005659, allocations: 72.25 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00566, allocations: 1 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001418/0.005802, allocations: 148.9 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.005827, allocations: 38.61 kB / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005831, allocations: 0 / 0.7646 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005843, allocations: 6.875 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.596e-05/0.005859, allocations: 7.984 kB / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005862, allocations: 0 / 0.7646 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.005962, allocations: 15.98 kB / 0.7646 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.005975, allocations: 4.062 kB / 0.7646 GB, free: 1.742 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 5.995e-05/0.006035, allocations: 117.8 kB / 0.7647 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.006044, allocations: 14.97 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.006065, allocations: 8.344 kB / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.006067, allocations: 240 / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.006068, allocations: 0 / 0.7648 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.006073, allocations: 3.984 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.174e-05/0.006134, allocations: 77.88 kB / 0.7648 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006135, allocations: 0 / 0.7648 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.006139, allocations: 4 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.006142, allocations: 3.984 kB / 0.7649 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.006148, allocations: 5.5 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006148, allocations: 0 / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.00615, allocations: 0 / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.006204, allocations: 69.06 kB / 0.7649 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.006214, allocations: 9.078 kB / 0.7649 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.006224, allocations: 7.922 kB / 0.7649 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-06/0.006232, allocations: 4 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.006251, allocations: 0.6562 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.006254, allocations: 0 / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.258e-05/0.006276, allocations: 31.45 kB / 0.765 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006276, allocations: 0.6562 kB / 0.765 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000115/0.006391, allocations: 19.94 kB / 0.765 GB, free: 1.332 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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 9.069e-05/0.006482, allocations: 86.12 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001369/0.006619, allocations: 129.9 kB / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.006622, allocations: 2.438 kB / 0.7652 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.006637, allocations: 12.86 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.847e-05/0.006735, allocations: 11.98 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.007032, allocations: 164.8 kB / 0.7654 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.948e-05/0.007062, allocations: 55.36 kB / 0.7654 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.633e-05/0.007078, allocations: 10.52 kB / 0.7655 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.007143, allocations: 67.3 kB / 0.7655 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.007144, allocations: 0 / 0.7655 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of Templates: time 0.002687/0.009831, allocations: 1.296 MB / 0.7668 GB, free: 15.51 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.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.213737238198519]