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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006045/0.006045, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00118/0.00118, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.746/2.746, allocations: 472.6 MB / 0.7453 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.84 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.946/0.9475, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002191/0.9497, allocations: 0.8531 MB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.9513, allocations: 1.171 MB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.9514, allocations: 3.938 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.9516, allocations: 31.73 kB / 1.228 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.767e-05/0.9517, allocations: 11.86 kB / 1.228 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.9521, allocations: 147.2 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 NFFlatten.flatten: time 0.0002326/0.9524, allocations: 179.6 kB / 1.228 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.9525, allocations: 45.33 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.9526, allocations: 63.72 kB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.9527, allocations: 51.81 kB / 1.228 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.9528, allocations: 16 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.257e-05/0.9529, allocations: 31.98 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.9529, allocations: 11.92 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.953, allocations: 59.72 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.9532, allocations: 175.9 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.9532, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9532, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.9532, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 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.0005679/0.9538, allocations: 436.7 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9539, allocations: 12.03 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.9539, allocations: 12.89 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.9542, allocations: 224.2 kB / 1.229 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.9542, allocations: 8.312 kB / 1.229 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.9543, allocations: 8.375 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.9544, allocations: 88.73 kB / 1.229 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.9544, allocations: 4.188 kB / 1.229 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.9545, allocations: 3.938 kB / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.9545, allocations: 0 / 1.229 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.933e-05/0.9545, allocations: 31.92 kB / 1.229 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.9551, allocations: 0.5284 MB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.113e-05/0.9551, allocations: 30.52 kB / 1.23 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.9552, allocations: 16.92 kB / 1.23 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.9552, allocations: 3.984 kB / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.446e-05/0.9553, allocations: 59.39 kB / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.9553, allocations: 0 / 1.23 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002022/0.9555, allocations: 81.53 kB / 1.23 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.9556, allocations: 55.41 kB / 1.23 GB, free: 8.859 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 selectInitializationVariablesDAE (initialization): time 0.000172/0.9557, allocations: 183.3 kB / 1.23 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.9558, allocations: 25.7 kB / 1.23 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.9559, allocations: 112.1 kB / 1.23 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.9559, allocations: 11.89 kB / 1.23 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.956, allocations: 33.7 kB / 1.23 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.9561, allocations: 318.8 kB / 1.231 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.9562, allocations: 43.92 kB / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.9563, allocations: 62.48 kB / 1.231 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.9564, allocations: 92.2 kB / 1.231 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9564, allocations: 0 / 1.231 GB, free: 7.934 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002724/0.9567, allocations: 167.2 kB / 1.231 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.9568, allocations: 38.78 kB / 1.231 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.9568, allocations: 0 / 1.231 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.9568, allocations: 4.125 kB / 1.231 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.9569, allocations: 12 kB / 1.231 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.9569, allocations: 0 / 1.231 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.9571, allocations: 31.86 kB / 1.231 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.9571, allocations: 11.98 kB / 1.231 GB, free: 7.656 MB / 0.9512 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 9.338e-05/0.9572, allocations: 118.3 kB / 1.231 GB, free: 7.531 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.9572, allocations: 11.95 kB / 1.231 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.9573, allocations: 12.94 kB / 1.231 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.9573, allocations: 4 kB / 1.231 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9573, allocations: 0 / 1.231 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.9573, allocations: 7.922 kB / 1.231 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.9574, allocations: 185.6 kB / 1.231 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.9574, allocations: 0 / 1.231 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.9575, allocations: 3.984 kB / 1.231 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9575, allocations: 4 kB / 1.231 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.9575, allocations: 0 / 1.231 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9575, allocations: 0 / 1.231 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.9575, allocations: 0 / 1.231 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.9576, allocations: 101 kB / 1.231 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.9577, allocations: 89.33 kB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.9577, allocations: 3.938 kB / 1.232 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.169e-05/0.9577, allocations: 0 / 1.232 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.9578, allocations: 11.92 kB / 1.232 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.9578, allocations: 0 / 1.232 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.509e-05/0.9579, allocations: 124 kB / 1.232 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9579, allocations: 4 kB / 1.232 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002111/0.9581, allocations: 27.92 kB / 1.232 GB, free: 6.863 MB / 0.9512 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.0001527/0.9582, allocations: 107.2 kB / 1.232 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.9585, allocations: 139.2 kB / 1.232 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9585, allocations: 0 / 1.232 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.9585, allocations: 15.98 kB / 1.232 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.9588, allocations: 32.05 kB / 1.232 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.9592, allocations: 186.3 kB / 1.232 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.9594, allocations: 0.7041 MB / 1.233 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.023e-05/0.9594, allocations: 4.438 kB / 1.233 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.9595, allocations: 11.44 kB / 1.233 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of SimCode: time 2.01e-07/0.9595, allocations: 0 / 1.233 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of Templates: time 0.003886/0.9634, allocations: 1.473 MB / 1.234 GB, free: 4.148 MB / 0.9512 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