Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007319/0.007319, allocations: 102.3 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 192.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7347 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.89 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9225/0.9238, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.002342/0.9262, allocations: 0.8627 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.928, allocations: 1.166 MB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.9281, allocations: 4 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.9283, allocations: 27.73 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.9284, allocations: 19.84 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006079/0.929, allocations: 151.1 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.9293, allocations: 179.6 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.9294, allocations: 45.33 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.9295, allocations: 59.84 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.9297, allocations: 47.77 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.9297, allocations: 12 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.9298, allocations: 31.92 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.9299, allocations: 23.91 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.9299, allocations: 59.67 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.9302, allocations: 171.2 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9303, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9303, allocations: 4 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.9303, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 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.0006842/0.931, allocations: 438.7 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.931, allocations: 8.031 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.9311, allocations: 12.84 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.9314, allocations: 222.5 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.9314, allocations: 8.375 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.9315, allocations: 12.36 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.9316, allocations: 80.83 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.9316, allocations: 4.125 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.9317, allocations: 7.922 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9317, allocations: 3.938 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.241e-05/0.9317, allocations: 24 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.9324, allocations: 0.5398 MB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.659e-05/0.9325, allocations: 22.58 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.9326, allocations: 16.92 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.9326, allocations: 3.938 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.9327, allocations: 67.39 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9327, allocations: 0 / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.9329, allocations: 81.58 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.933, allocations: 51.41 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.9331, allocations: 175.8 kB / 1.212 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.9332, allocations: 29.7 kB / 1.212 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.9333, allocations: 104.1 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.9333, allocations: 3.906 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.9334, allocations: 37.69 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.9335, allocations: 322.8 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.9336, allocations: 39.97 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.642e-05/0.9337, allocations: 54.56 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.9338, allocations: 92.2 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9338, allocations: 0 / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002895/0.9341, allocations: 167.2 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.9342, allocations: 41.69 kB / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.9342, allocations: 0 / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9342, allocations: 64 / 1.213 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.9343, allocations: 8 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.9343, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.9345, allocations: 35.75 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.9345, allocations: 12.17 kB / 1.213 GB, free: 7.793 MB / 0.9356 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.0001021/0.9346, allocations: 129.8 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.9347, allocations: 11.91 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.9347, allocations: 12.92 kB / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.9347, allocations: 0 / 1.213 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9347, allocations: 4 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9347, allocations: 3.938 kB / 1.213 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.9349, allocations: 189.6 kB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9349, allocations: 0 / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.9349, allocations: 0 / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.9349, allocations: 11.94 kB / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9349, allocations: 0 / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.9349, allocations: 3.984 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9349, allocations: 0 / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.9351, allocations: 92.97 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.9351, allocations: 92.92 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.9352, allocations: 0 / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.328e-05/0.9352, allocations: 3.984 kB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.9352, allocations: 11.94 kB / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.9352, allocations: 0 / 1.214 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001039/0.9353, allocations: 128.2 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9353, allocations: 0 / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002174/0.9356, allocations: 20 kB / 1.214 GB, free: 6.992 MB / 0.9356 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.0001548/0.9357, allocations: 103.2 kB / 1.214 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.936, allocations: 139.3 kB / 1.214 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.936, allocations: 4.125 kB / 1.214 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.936, allocations: 12 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.9363, allocations: 15.98 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.9367, allocations: 194.5 kB / 1.214 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.937, allocations: 0.7002 MB / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.937, allocations: 12.36 kB / 1.215 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.269e-05/0.937, allocations: 15.44 kB / 1.215 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9371, allocations: 0 / 1.215 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.005371/0.9424, allocations: 1.451 MB / 1.216 GB, free: 4.309 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches