Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001638/0.001638, allocations: 186.1 kB / 17.35 MB, free: 5.633 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 / 241.1 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.552/2.552, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6892, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002216/0.6914, allocations: 0.9205 MB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.6929, allocations: 1.17 MB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.693, allocations: 3.938 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.6932, allocations: 23.8 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.958e-05/0.6932, allocations: 23.84 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.6938, allocations: 146.4 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.6941, allocations: 175.6 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.6942, allocations: 45.33 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.6943, allocations: 59.78 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.6945, allocations: 55.7 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.6945, allocations: 12 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.6947, allocations: 35.98 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.6947, allocations: 19.91 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.6948, allocations: 51.73 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.6951, allocations: 179.1 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6951, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6951, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.6951, allocations: 0 / 1.211 GB, free: 10.68 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.0006113/0.6957, allocations: 434.8 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6958, allocations: 8.031 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.6958, allocations: 12.84 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.6961, allocations: 226.5 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.6962, allocations: 12.36 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.6962, allocations: 8.359 kB / 1.212 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.6964, allocations: 84.7 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.6964, allocations: 4.172 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.6964, allocations: 7.938 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.6964, allocations: 8 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.6965, allocations: 23.94 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.6971, allocations: 0.5359 MB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.505e-05/0.6972, allocations: 26.58 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.158e-05/0.6972, allocations: 20.92 kB / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.6973, allocations: 0 / 1.213 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.6974, allocations: 59.39 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.6974, allocations: 0 / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002344/0.6976, allocations: 85.52 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.6977, allocations: 51.41 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.6979, allocations: 168.1 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.6979, allocations: 29.7 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.698, allocations: 108 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.698, allocations: 11.84 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.6981, allocations: 29.7 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6982, allocations: 326.8 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.6983, allocations: 43.97 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.6984, allocations: 50.56 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.6985, allocations: 96.2 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6985, allocations: 0 / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002827/0.6988, allocations: 167.2 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.6988, allocations: 35.73 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6989, allocations: 3.984 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6989, allocations: 3.938 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.6989, allocations: 4 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.699, allocations: 8.125 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.6992, allocations: 35.81 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.6992, allocations: 4 kB / 1.214 GB, free: 7.703 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: 4 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.000103/0.6993, allocations: 121.8 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.6993, allocations: 11.89 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.6994, allocations: 12.94 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6994, allocations: 0 / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6994, allocations: 4 kB / 1.214 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.6994, allocations: 92.89 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.6995, allocations: 3.984 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.6995, allocations: 0 / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.6995, allocations: 4 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001321/0.6997, allocations: 141.2 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001696/0.6998, allocations: 250.5 kB / 1.214 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.597e-05/0.6999, allocations: 19.98 kB / 1.215 GB, free: 7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.956e-05/0.7, allocations: 132.2 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of Backend: time 3.1e-07/0.7, allocations: 0 / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005448/0.7005, allocations: 197.8 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007361/0.7013, allocations: 0.6484 MB / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.004163/0.7055, allocations: 1.5 MB / 1.217 GB, free: 4.488 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches