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.001352/0.001352, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001419/0.001419, allocations: 187 kB / 17.34 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7354 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7895/0.791, allocations: 157.4 MB / 1.208 GB, free: 13.68 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.002611/0.7937, allocations: 0.8584 MB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.7953, allocations: 1.17 MB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.7954, allocations: 4 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.7956, allocations: 27.78 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.7957, allocations: 23.8 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000588/0.7963, allocations: 151.1 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.7966, allocations: 171.7 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.7968, allocations: 45.33 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.797, allocations: 63.78 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.7972, allocations: 55.73 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.7972, allocations: 12 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.7973, allocations: 31.98 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.7974, allocations: 15.94 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.7975, allocations: 63.66 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.7979, allocations: 171.2 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.7979, allocations: 0 / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7979, allocations: 0 / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7979, allocations: 0 / 1.211 GB, free: 10.83 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.000785/0.7987, allocations: 434.7 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7988, allocations: 8.031 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.7988, allocations: 12.84 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.7992, allocations: 224.1 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.7992, allocations: 8.375 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.7993, allocations: 8.312 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.7995, allocations: 84.81 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.7995, allocations: 4.125 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.7995, allocations: 3.938 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7995, allocations: 8 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.7996, allocations: 27.92 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.8003, allocations: 0.532 MB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.803e-05/0.8004, allocations: 30.62 kB / 1.213 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.8005, allocations: 16.86 kB / 1.213 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.8005, allocations: 0 / 1.213 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.8006, allocations: 67.33 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.8006, allocations: 3.938 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002801/0.8009, allocations: 77.59 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.801, allocations: 55.39 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.8012, allocations: 171.9 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.8013, allocations: 33.7 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.8014, allocations: 104.1 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.8014, allocations: 3.906 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.233e-05/0.8015, allocations: 37.7 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8016, allocations: 318.8 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.8017, allocations: 39.97 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/0.8018, allocations: 62.53 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.802, allocations: 92.28 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.802, allocations: 4 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003213/0.8023, allocations: 167.2 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.8024, allocations: 37.7 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8024, allocations: 0 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.8024, allocations: 0 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.8025, allocations: 4 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.8025, allocations: 8 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.8028, allocations: 35.75 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.8028, allocations: 11.98 kB / 1.214 GB, free: 7.848 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.0001253/0.8029, allocations: 123.3 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.803, allocations: 11.91 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.803, allocations: 12.92 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.803, allocations: 4 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.803, allocations: 4.234 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.8031, allocations: 3.938 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.8032, allocations: 185.6 kB / 1.214 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8032, allocations: 3.984 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.8033, allocations: 0 / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.8033, allocations: 4 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.8033, allocations: 0 / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.8033, allocations: 0 / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8033, allocations: 0 / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.8035, allocations: 104.9 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.638e-05/0.8036, allocations: 92.92 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.8036, allocations: 0 / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.8036, allocations: 3.938 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.8037, allocations: 7.938 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.8037, allocations: 3.984 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001383/0.8038, allocations: 128.2 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8038, allocations: 0 / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002451/0.8041, allocations: 20 kB / 1.214 GB, free: 7.051 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.0001777/0.8043, allocations: 103.2 kB / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.8045, allocations: 139.3 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.8045, allocations: 0 / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.8046, allocations: 15.98 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.8049, allocations: 21.86 kB / 1.215 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.8053, allocations: 216.4 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.8056, allocations: 0.7002 MB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.8056, allocations: 11.44 kB / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8056, allocations: 0 / 1.216 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of Templates: time 0.003403/0.809, allocations: 1.468 MB / 1.217 GB, free: 4.316 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/jenkins1/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