Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001331/0.001331, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.001539/0.001539, allocations: 159 kB / 23.01 MB, free: 4.945 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.512/1.512, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.845/2.845, allocations: 394.2 MB / 0.6387 GB, free: 11.96 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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") [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.002104/0.002104, allocations: 71.89 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.863, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.001993/0.865, allocations: 0.9028 MB / 1.187 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.8662, allocations: 1.185 MB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.8663, allocations: 2.219 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.8665, allocations: 26.94 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.068e-05/0.8665, allocations: 13.17 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.8669, allocations: 158.2 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.8671, allocations: 169.5 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.8672, allocations: 30.05 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.8673, allocations: 61.33 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.8674, allocations: 49.06 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.8674, allocations: 15.41 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.8675, allocations: 23 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.8675, allocations: 16.59 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.563e-05/0.8676, allocations: 52.78 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.8678, allocations: 170.3 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8678, allocations: 8 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8678, allocations: 0 / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.8678, allocations: 1.094 kB / 1.189 GB, free: 14.39 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004219/0.8683, allocations: 364.3 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.8683, allocations: 8.531 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.8683, allocations: 13.78 kB / 1.19 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.8686, allocations: 159.8 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.8686, allocations: 4.453 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.8686, allocations: 11.22 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.8687, allocations: 88.12 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8688, allocations: 192 / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8688, allocations: 5.766 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.8688, allocations: 5.328 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.8688, allocations: 28.16 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.8692, allocations: 459.2 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.8693, allocations: 35.61 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.8693, allocations: 12.45 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-06/0.8693, allocations: 1.156 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.749e-05/0.8694, allocations: 66.7 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.8694, allocations: 0 / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.8696, allocations: 80.33 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.8696, allocations: 54.3 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.8697, allocations: 154.6 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.8697, allocations: 28.53 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.8698, allocations: 114.2 kB / 1.191 GB, free: 12.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.8698, allocations: 7.172 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.8699, allocations: 30.22 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.8699, allocations: 324 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.87, allocations: 76.31 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-05/0.8701, allocations: 85.42 kB / 1.192 GB, free: 12.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.77e-05/0.8702, allocations: 94.89 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8702, allocations: 7.875 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002507/0.8704, allocations: 197.6 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.8705, allocations: 38.42 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8705, allocations: 5.984 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8705, allocations: 1.219 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/0.8705, allocations: 6.922 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.8705, allocations: 1.062 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.8707, allocations: 25.55 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.8707, allocations: 9.984 kB / 1.192 GB, free: 12.16 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 ($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 6.435e-05/0.8708, allocations: 126.4 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.8708, allocations: 12.44 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.8708, allocations: 8.594 kB / 1.192 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8708, allocations: 0 / 1.192 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8709, allocations: 1.062 kB / 1.192 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8709, allocations: 4.75 kB / 1.192 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.276e-05/0.8709, allocations: 141.2 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8709, allocations: 0.6562 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.871, allocations: 2.844 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.871, allocations: 0 / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.871, allocations: 2.016 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.871, allocations: 0 / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.871, allocations: 1.469 kB / 1.192 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.8711, allocations: 94.83 kB / 1.192 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.8711, allocations: 9.156 kB / 1.192 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.8711, allocations: 8 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.8711, allocations: 5.719 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.8711, allocations: 3.109 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.8712, allocations: 2.5 kB / 1.192 GB, free: 11.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.8712, allocations: 117.8 kB / 1.192 GB, free: 11.68 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8712, allocations: 0 / 1.192 GB, free: 11.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000218/0.8714, allocations: 19.58 kB / 1.192 GB, free: 11.68 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.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.0001079/0.8715, allocations: 103.7 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.8718, allocations: 155.4 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8718, allocations: 9.219 kB / 1.193 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.145e-05/0.8718, allocations: 13.52 kB / 1.193 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.872, allocations: 23.91 kB / 1.193 GB, free: 11.44 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.8723, allocations: 190.6 kB / 1.193 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.477e-05/0.8724, allocations: 85.94 kB / 1.193 GB, free: 11.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.142e-05/0.8724, allocations: 10.64 kB / 1.193 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.8724, allocations: 13.31 kB / 1.193 GB, free: 11.2 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.8724, allocations: 0 / 1.193 GB, free: 11.2 MB / 1.076 GB Notification: Performance of Templates: time 0.004269/0.8767, allocations: 1.527 MB / 1.194 GB, free: 10.99 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.730805290979333]