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.001091/0.001091, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001291/0.001291, allocations: 181 kB / 24.09 MB, free: 420 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.9153/0.9153, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.865/1.865, allocations: 377.9 MB / 0.624 GB, free: 8.402 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.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 2.675e-06/2.675e-06, allocations: 0 / 0.812 GB, free: 332 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.457e-05/1.724e-05, allocations: 2.312 kB / 0.812 GB, free: 328 kB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.001317/0.001334, allocations: 0.7603 MB / 0.8127 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.002604, allocations: 1.189 MB / 0.8139 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.002691, allocations: 7.938 kB / 0.8139 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.00283, allocations: 21.86 kB / 0.8139 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.002867, allocations: 15.88 kB / 0.8139 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.003283, allocations: 128.4 kB / 0.8141 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.003453, allocations: 131.7 kB / 0.8142 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.808e-05/0.003541, allocations: 20.55 kB / 0.8142 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.003633, allocations: 64.78 kB / 0.8143 GB, free: 14 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.003716, allocations: 27.89 kB / 0.8143 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.00374, allocations: 12 kB / 0.8143 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.825e-05/0.003799, allocations: 24.64 kB / 0.8143 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.003819, allocations: 11.92 kB / 0.8143 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.003858, allocations: 28.8 kB / 0.8144 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.004001, allocations: 95.69 kB / 0.8145 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004003, allocations: 1.625 kB / 0.8145 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004003, allocations: 0 / 0.8145 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.004007, allocations: 0 / 0.8145 GB, free: 13.8 MB / 0.7292 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.0003663/0.004373, allocations: 437.7 kB / 0.8149 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.004412, allocations: 17.23 kB / 0.8149 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.004452, allocations: 12.89 kB / 0.8149 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.004611, allocations: 151.8 kB / 0.815 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.004623, allocations: 5.719 kB / 0.8151 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.004644, allocations: 12.38 kB / 0.8151 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.004729, allocations: 73.27 kB / 0.8151 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.004736, allocations: 192 / 0.8151 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.004743, allocations: 9.25 kB / 0.8151 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.004748, allocations: 384 / 0.8151 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.063e-05/0.004769, allocations: 20.86 kB / 0.8152 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.005086, allocations: 0.5255 MB / 0.8157 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.122e-05/0.005118, allocations: 24.72 kB / 0.8157 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.253e-05/0.00513, allocations: 15.73 kB / 0.8157 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-06/0.005135, allocations: 3.938 kB / 0.8157 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.935e-05/0.005204, allocations: 57.05 kB / 0.8158 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.005205, allocations: 1.531 kB / 0.8158 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001328/0.005338, allocations: 69.56 kB / 0.8158 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.005365, allocations: 51.41 kB / 0.8159 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.005463, allocations: 193.8 kB / 0.8161 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.005479, allocations: 27.45 kB / 0.8161 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.005544, allocations: 150.7 kB / 0.8162 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.005551, allocations: 4 kB / 0.8162 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.005608, allocations: 43.34 kB / 0.8163 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.005739, allocations: 0.4923 MB / 0.8168 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.005791, allocations: 50.88 kB / 0.8168 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.465e-05/0.005876, allocations: 76.73 kB / 0.8169 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.981e-05/0.005945, allocations: 89.8 kB / 0.817 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.005947, allocations: 0 / 0.817 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001723/0.006119, allocations: 169.7 kB / 0.8171 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.006146, allocations: 35.86 kB / 0.8172 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.006152, allocations: 7.984 kB / 0.8172 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.006164, allocations: 0 / 0.8172 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.079e-05/0.006175, allocations: 0 / 0.8172 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006177, allocations: 3.938 kB / 0.8172 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.006292, allocations: 24.45 kB / 0.8172 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.006305, allocations: 4 kB / 0.8172 GB, free: 10.71 MB / 0.7292 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 7.264e-05/0.006377, allocations: 161.3 kB / 0.8174 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.00639, allocations: 12.39 kB / 0.8174 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.006413, allocations: 10.17 kB / 0.8174 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006415, allocations: 4 kB / 0.8174 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006417, allocations: 0 / 0.8174 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.006421, allocations: 3.984 kB / 0.8174 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.006509, allocations: 109.9 kB / 0.8175 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00651, allocations: 0 / 0.8175 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.006515, allocations: 0.9062 kB / 0.8175 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.006516, allocations: 0 / 0.8175 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.006524, allocations: 11.92 kB / 0.8175 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.006524, allocations: 0.6875 kB / 0.8175 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.006525, allocations: 0.5938 kB / 0.8175 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.916e-05/0.006604, allocations: 92.33 kB / 0.8176 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-06/0.006612, allocations: 5.328 kB / 0.8176 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.006623, allocations: 7.938 kB / 0.8176 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.006634, allocations: 0 / 0.8176 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.006652, allocations: 7.984 kB / 0.8176 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.006656, allocations: 0.8125 kB / 0.8176 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001079/0.006764, allocations: 140.7 kB / 0.8178 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006764, allocations: 4.875 kB / 0.8178 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001941/0.006958, allocations: 16 kB / 0.8178 GB, free: 10.07 MB / 0.7292 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.762e-05/0.007056, allocations: 108.4 kB / 0.8179 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.007202, allocations: 137.7 kB / 0.818 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.007203, allocations: 0 / 0.818 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.007223, allocations: 19.67 kB / 0.818 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.007386, allocations: 12.47 kB / 0.818 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.007627, allocations: 168.7 kB / 0.8182 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.00766, allocations: 59.34 kB / 0.8183 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.007677, allocations: 4 kB / 0.8183 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.007758, allocations: 97.55 kB / 0.8184 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.007759, allocations: 0 / 0.8184 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of Templates: time 0.003416/0.01117, allocations: 1.295 MB / 0.8196 GB, free: 8.156 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 -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: 4.81145185418427]