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.001632/0.001632, allocations: 110.2 kB / 19.69 MB, free: 2.242 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.002267/0.002267, allocations: 219.6 kB / 23.01 MB, free: 5.027 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 0.49 GB / 0.7958 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002037/0.002037, allocations: 68.06 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3613, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.002166/0.3635, allocations: 0.8646 MB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3651, allocations: 1.209 MB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.3652, allocations: 7.938 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3653, allocations: 19.8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.706e-05/0.3654, allocations: 23.8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.3659, allocations: 150.9 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3661, allocations: 167.6 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3662, allocations: 41.5 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.3663, allocations: 67.77 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3664, allocations: 47.83 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.3664, allocations: 15.94 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.3665, allocations: 35.92 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.3665, allocations: 7.938 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.3666, allocations: 67.7 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.3669, allocations: 167.4 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3669, allocations: 0 / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3669, allocations: 0 / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3669, allocations: 4 kB / 1.33 GB, free: 14.55 MB / 1.029 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.0005448/0.3674, allocations: 359.6 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3675, allocations: 8.031 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.3675, allocations: 16.84 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3678, allocations: 163.4 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.3678, allocations: 4.375 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.3678, allocations: 12.38 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.368, allocations: 88.75 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.368, allocations: 192 / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.368, allocations: 3.938 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.368, allocations: 7.984 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/0.3681, allocations: 23.94 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.3686, allocations: 0.5117 MB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.649e-05/0.3687, allocations: 26.58 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.3687, allocations: 12.91 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.3687, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.3689, allocations: 67.39 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 2.915e-06/0.3689, allocations: 7.984 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001996/0.3691, allocations: 77.58 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3691, allocations: 55.41 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.3693, allocations: 175.9 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3693, allocations: 33.7 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.3694, allocations: 104.1 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.3694, allocations: 7.891 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.3695, allocations: 33.7 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3696, allocations: 326.8 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.3697, allocations: 31.98 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.3698, allocations: 54.56 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3699, allocations: 92.2 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3699, allocations: 4 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003056/0.3702, allocations: 171.2 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.3703, allocations: 41.69 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3703, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3703, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.3703, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3703, allocations: 3.938 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.3705, allocations: 35.78 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.3706, allocations: 15.98 kB / 1.332 GB, free: 11.76 MB / 1.029 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.0001044/0.3707, allocations: 118.4 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.3707, allocations: 15.91 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.3707, allocations: 9.031 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3707, allocations: 4 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3707, allocations: 3.984 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3707, allocations: 3.938 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3709, allocations: 156.8 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3709, allocations: 7.984 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.3709, allocations: 4 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3709, allocations: 0 / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.3709, allocations: 4 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3709, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3709, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.371, allocations: 96.95 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.3711, allocations: 15.89 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3711, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.3711, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.3711, allocations: 7.938 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.3711, allocations: 4 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001038/0.3712, allocations: 131.9 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3712, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002193/0.3715, allocations: 19.94 kB / 1.333 GB, free: 11.09 MB / 1.029 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.0001426/0.3716, allocations: 107.2 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.3718, allocations: 127.3 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3718, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.3719, allocations: 20.11 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3721, allocations: 22.83 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.3725, allocations: 212.2 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3728, allocations: 0.704 MB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.3728, allocations: 15.44 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3728, allocations: 0 / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of Templates: time 0.003668/0.3765, allocations: 1.463 MB / 1.336 GB, free: 8.359 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.221776766993571]