Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001875/0.001875, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00205/0.00205, allocations: 165.7 kB / 23.55 MB, free: 0.8711 MB / 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.598/1.598, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.081/3.081, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] 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.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.887e-05, allocations: 4.438 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.002196/0.002225, allocations: 0.8621 MB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.003996, allocations: 1.191 MB / 0.8128 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.004071, allocations: 4 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.004213, allocations: 29.27 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.004267, allocations: 19.8 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.004744, allocations: 147.5 kB / 0.813 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.004999, allocations: 173.1 kB / 0.8132 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.005112, allocations: 29.56 kB / 0.8132 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.005246, allocations: 75.88 kB / 0.8133 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.005357, allocations: 39.88 kB / 0.8133 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.005392, allocations: 17.03 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.005466, allocations: 27.98 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.005496, allocations: 11.94 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.832e-05/0.005574, allocations: 52.61 kB / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.005865, allocations: 187.4 kB / 0.8136 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005867, allocations: 4.5 kB / 0.8136 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005868, allocations: 0.5938 kB / 0.8136 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.005872, allocations: 0 / 0.8136 GB, free: 15.31 MB / 0.7761 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.0008353/0.006707, allocations: 462.3 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.006743, allocations: 8.031 kB / 0.814 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.006812, allocations: 18.05 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.007109, allocations: 169.7 kB / 0.8142 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.00713, allocations: 8.375 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.007154, allocations: 8.375 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.007326, allocations: 97.23 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.007335, allocations: 1.938 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.00735, allocations: 8.344 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.007356, allocations: 4.375 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.007428, allocations: 23.94 kB / 0.8144 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.008106, allocations: 0.6113 MB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/0.008191, allocations: 43.81 kB / 0.815 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.008225, allocations: 19.73 kB / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.008235, allocations: 0.5 kB / 0.815 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/0.00836, allocations: 69.61 kB / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.744e-06/0.008361, allocations: 1.375 kB / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0002305/0.008592, allocations: 81.58 kB / 0.8152 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.008637, allocations: 51.41 kB / 0.8152 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.008879, allocations: 240.9 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.008911, allocations: 32.3 kB / 0.8155 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.009037, allocations: 154.8 kB / 0.8156 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.009051, allocations: 7.938 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.009137, allocations: 47.36 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002721/0.009409, allocations: 0.5 MB / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.009539, allocations: 73.69 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.009685, allocations: 104.7 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.009854, allocations: 109.9 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.009856, allocations: 4 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003686/0.01022, allocations: 219.1 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.01027, allocations: 37.69 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.01028, allocations: 4 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.01029, allocations: 3.938 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/0.01035, allocations: 4.594 kB / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.01035, allocations: 0 / 0.8167 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.01052, allocations: 25.12 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.01054, allocations: 7.984 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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 0.0001622/0.0107, allocations: 177.4 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.01072, allocations: 11.95 kB / 0.8169 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.01076, allocations: 9.188 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01076, allocations: 0 / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01076, allocations: 2.219 kB / 0.8169 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01077, allocations: 7.984 kB / 0.8169 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.01094, allocations: 152.5 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01094, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.01095, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01096, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.01096, allocations: 6.781 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01096, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01096, allocations: 0 / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.01113, allocations: 112.3 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.01115, allocations: 7.953 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.01117, allocations: 7.938 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.059e-05/0.01119, allocations: 0 / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.01123, allocations: 4.266 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01124, allocations: 5.5 kB / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001322/0.01137, allocations: 155.2 kB / 0.8174 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01137, allocations: 4 kB / 0.8174 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002281/0.0116, allocations: 27.88 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pul.y,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.0001657/0.01176, allocations: 104.8 kB / 0.8175 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003054/0.01207, allocations: 189.4 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01207, allocations: 4 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.01212, allocations: 21.56 kB / 0.8177 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01235, allocations: 25.67 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.01277, allocations: 201.9 kB / 0.8179 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.935e-05/0.01286, allocations: 78.77 kB / 0.818 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.01289, allocations: 8.719 kB / 0.818 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.01291, allocations: 17.09 kB / 0.818 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01291, allocations: 0 / 0.818 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of Templates: time 0.005069/0.01798, allocations: 1.536 MB / 0.8195 GB, free: 8.887 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.274717452004552]