Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001472/0.001472, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001638/0.001638, allocations: 156 kB / 23.01 MB, free: 4.605 MB / 14.72 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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.941/2.941, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003407/0.003407, allocations: 71.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9616/0.965, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.001962/0.967, allocations: 0.7422 MB / 1.187 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.9682, allocations: 1.164 MB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.9683, allocations: 6.125 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.9684, allocations: 19.62 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.155e-05/0.9685, allocations: 18.67 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.9689, allocations: 133.5 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.9691, allocations: 127.4 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.9692, allocations: 25.5 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.9693, allocations: 50.88 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.9694, allocations: 36.86 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.9694, allocations: 8.594 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.9695, allocations: 18.7 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.9695, allocations: 11.73 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.9696, allocations: 44.95 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.9697, allocations: 114.5 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9698, allocations: 0 / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.22e-07/0.9698, allocations: 0 / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.9698, allocations: 0 / 1.189 GB, free: 14.66 MB / 1.076 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.0004127/0.9702, allocations: 336.7 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.9702, allocations: 8.812 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.9703, allocations: 12.14 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.9705, allocations: 143.1 kB / 1.19 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.9705, allocations: 6.938 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.9705, allocations: 7.266 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.9706, allocations: 76.81 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.9706, allocations: 192 / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.9706, allocations: 5.953 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9706, allocations: 1.281 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.9707, allocations: 23.45 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.971, allocations: 417.9 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.971, allocations: 26.55 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.9711, allocations: 11.75 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.9711, allocations: 0 / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.4e-05/0.9712, allocations: 58.47 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.9712, allocations: 0 / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.9713, allocations: 70.72 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.9714, allocations: 52.66 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.438e-05/0.9715, allocations: 134 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.9715, allocations: 31.89 kB / 1.19 GB, free: 13.35 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.9715, allocations: 101.4 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.9715, allocations: 1.25 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.9716, allocations: 36.36 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.9716, allocations: 327.2 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.88e-05/0.9717, allocations: 59.89 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.019e-05/0.9718, allocations: 77.94 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.886e-05/0.9719, allocations: 79.36 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9719, allocations: 5.062 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002478/0.9721, allocations: 185.6 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.9722, allocations: 36.38 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.9722, allocations: 5.219 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.9722, allocations: 1.672 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.756e-05/0.9722, allocations: 1.094 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9722, allocations: 1.656 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.9724, allocations: 28.31 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.9724, allocations: 6.578 kB / 1.191 GB, free: 12.55 MB / 1.076 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 6.791e-05/0.9725, allocations: 120.8 kB / 1.191 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.9725, allocations: 7.797 kB / 1.191 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.9725, allocations: 7.938 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.9725, allocations: 7.938 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9725, allocations: 1.156 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9725, allocations: 4.75 kB / 1.191 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.634e-05/0.9726, allocations: 121.7 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9726, allocations: 0 / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.9726, allocations: 2.047 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9726, allocations: 1.438 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.9726, allocations: 0.7031 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9726, allocations: 0 / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9726, allocations: 1.281 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.389e-05/0.9727, allocations: 91.77 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.9728, allocations: 6.125 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.9728, allocations: 1.219 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.9728, allocations: 8.75 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.9728, allocations: 7.797 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.9728, allocations: 1.984 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.9729, allocations: 103.4 kB / 1.192 GB, free: 12.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9729, allocations: 3.938 kB / 1.192 GB, free: 12.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002095/0.9731, allocations: 20.31 kB / 1.192 GB, free: 12.08 MB / 1.076 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 0.0001209/0.9732, allocations: 107.2 kB / 1.192 GB, free: 11.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.9734, allocations: 133.5 kB / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9734, allocations: 0 / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.9734, allocations: 15.33 kB / 1.192 GB, free: 11.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.9737, allocations: 10.98 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.9741, allocations: 159.8 kB / 1.192 GB, free: 11.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.223e-05/0.9741, allocations: 74.02 kB / 1.192 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.9742, allocations: 11.72 kB / 1.192 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.9742, allocations: 11.03 kB / 1.192 GB, free: 11.64 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9742, allocations: 1.094 kB / 1.192 GB, free: 11.64 MB / 1.076 GB Notification: Performance of Templates: time 0.004003/0.9782, allocations: 1.185 MB / 1.193 GB, free: 11.48 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.797058233991265]