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 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.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.001759/0.001759, allocations: 109.9 kB / 16.42 MB, free: 6.512 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.001958/0.001958, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.637/2.637, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6874/0.6887, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002443/0.6912, allocations: 0.9289 MB / 1.227 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.6927, allocations: 1.164 MB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.6928, allocations: 3.938 kB / 1.228 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.6929, allocations: 23.8 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.693, allocations: 19.86 kB / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.6935, allocations: 151 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.6937, allocations: 175.6 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.6939, allocations: 57.2 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.6939, allocations: 63.77 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.6941, allocations: 43.83 kB / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.6941, allocations: 16 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.6942, allocations: 31.92 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.6942, allocations: 15.98 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.6943, allocations: 59.72 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.6945, allocations: 171.9 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6945, allocations: 3.938 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6946, allocations: 0 / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.6946, allocations: 0 / 1.229 GB, free: 10.58 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.0005154/0.6951, allocations: 440.7 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.6951, allocations: 8.031 kB / 1.23 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.6952, allocations: 16.89 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.6954, allocations: 220.2 kB / 1.23 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.6955, allocations: 8.359 kB / 1.23 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.6955, allocations: 8.375 kB / 1.23 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.6956, allocations: 84.75 kB / 1.23 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6957, allocations: 192 / 1.23 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.6957, allocations: 3.938 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6957, allocations: 4 kB / 1.23 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.905e-05/0.6957, allocations: 23.94 kB / 1.23 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.6963, allocations: 0.54 MB / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.854e-05/0.6963, allocations: 26.58 kB / 1.231 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.6964, allocations: 12.92 kB / 1.231 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.6964, allocations: 4 kB / 1.231 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.6965, allocations: 67.38 kB / 1.231 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.6965, allocations: 0 / 1.231 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002082/0.6967, allocations: 85.67 kB / 1.231 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.6968, allocations: 51.41 kB / 1.231 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.6969, allocations: 171.3 kB / 1.231 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.6969, allocations: 33.7 kB / 1.231 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.697, allocations: 108.1 kB / 1.231 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.697, allocations: 7.953 kB / 1.231 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.6971, allocations: 37.62 kB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.6972, allocations: 326.8 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.6973, allocations: 35.98 kB / 1.231 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.6974, allocations: 54.61 kB / 1.231 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.6975, allocations: 96.2 kB / 1.232 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6975, allocations: 0 / 1.232 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002687/0.6978, allocations: 167.2 kB / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.6978, allocations: 45.62 kB / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6979, allocations: 0 / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6979, allocations: 0 / 1.232 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.683e-05/0.6979, allocations: 4 kB / 1.232 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.6979, allocations: 0 / 1.232 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.6981, allocations: 35.92 kB / 1.232 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.6982, allocations: 8.062 kB / 1.232 GB, free: 7.598 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: 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 9.066e-05/0.6983, allocations: 126.3 kB / 1.232 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.6983, allocations: 15.95 kB / 1.232 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.6983, allocations: 4.938 kB / 1.232 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6983, allocations: 0 / 1.232 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6983, allocations: 4 kB / 1.232 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.6984, allocations: 100.9 kB / 1.232 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.6984, allocations: 4 kB / 1.232 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.427e-05/0.6984, allocations: 4 kB / 1.232 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.6985, allocations: 0 / 1.232 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001185/0.6986, allocations: 133 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001519/0.6988, allocations: 246.6 kB / 1.232 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.409e-05/0.6988, allocations: 19.98 kB / 1.232 GB, free: 6.895 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.572e-05/0.6989, allocations: 124 kB / 1.233 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of Backend: time 4.21e-07/0.6989, allocations: 0 / 1.233 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.6994, allocations: 205.7 kB / 1.233 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005459/0.6999, allocations: 0.6571 MB / 1.233 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of Templates: time 0.004049/0.704, allocations: 1.502 MB / 1.235 GB, free: 4.371 MB / 0.9512 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