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.001779/0.001779, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.00196/0.001961, allocations: 192 kB / 17.2 MB, free: 5.508 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001892, allocations: 66.94 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8421, allocations: 162.2 MB / 1.083 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002257/0.8444, allocations: 0.9211 MB / 1.084 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.8457, allocations: 1.174 MB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.601e-05/0.8458, allocations: 2.562 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.846, allocations: 22.95 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.846, allocations: 20.58 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.8465, allocations: 144.3 kB / 1.085 GB, free: 96 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.8467, allocations: 170.2 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.8468, allocations: 51.02 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.8469, allocations: 57.23 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.601e-05/0.847, allocations: 44.64 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.8471, allocations: 15.41 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/0.8471, allocations: 28.89 kB / 1.086 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.8472, allocations: 16.89 kB / 1.086 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.155e-05/0.8473, allocations: 68.78 kB / 1.086 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.8475, allocations: 167.2 kB / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.8475, allocations: 0 / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8476, allocations: 0 / 1.086 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.8476, allocations: 0.8438 kB / 1.086 GB, free: 15.81 MB / 0.8419 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.0006893/0.8483, allocations: 436.4 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.8483, allocations: 9.812 kB / 1.086 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.8484, allocations: 13.45 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.8487, allocations: 212.7 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.8487, allocations: 13.75 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.8487, allocations: 10.22 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.8489, allocations: 82.56 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8489, allocations: 1.672 kB / 1.086 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.8489, allocations: 9 kB / 1.087 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.8489, allocations: 1.125 kB / 1.087 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.849, allocations: 28.12 kB / 1.087 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.8496, allocations: 0.5376 MB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.291e-05/0.8497, allocations: 32.06 kB / 1.087 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.869e-05/0.8497, allocations: 13.09 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.8497, allocations: 0.9062 kB / 1.087 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.8499, allocations: 64.3 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.8499, allocations: 0.5625 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002244/0.8501, allocations: 81.61 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.8502, allocations: 56.64 kB / 1.087 GB, free: 14.34 MB / 0.8419 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.8504, allocations: 171.4 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.8504, allocations: 27.95 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.8505, allocations: 105.8 kB / 1.088 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.8505, allocations: 19.45 kB / 1.088 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.8506, allocations: 29 kB / 1.088 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8508, allocations: 321.2 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.8509, allocations: 38.34 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.851, allocations: 57.91 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.8511, allocations: 94.98 kB / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8512, allocations: 0 / 1.088 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.8515, allocations: 171.4 kB / 1.088 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.8515, allocations: 35.89 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8515, allocations: 1.406 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8515, allocations: 1.156 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.288e-05/0.8516, allocations: 7.969 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.8516, allocations: 1.125 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.8518, allocations: 36.78 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.8519, allocations: 6.578 kB / 1.088 GB, free: 13.43 MB / 0.8419 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.0001695/0.852, allocations: 121.8 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.8521, allocations: 8.594 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.8521, allocations: 18.47 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8521, allocations: 0 / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8521, allocations: 1.562 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.8521, allocations: 3.938 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.8523, allocations: 197.5 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8523, allocations: 4 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.676e-05/0.8523, allocations: 2.984 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8523, allocations: 1 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.8524, allocations: 0.75 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.8524, allocations: 1.062 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8524, allocations: 0.5156 kB / 1.089 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.8525, allocations: 99.38 kB / 1.089 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.8526, allocations: 84.58 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.8526, allocations: 5.891 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.8526, allocations: 0.5156 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.8527, allocations: 10.36 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.8527, allocations: 2.938 kB / 1.089 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001099/0.8528, allocations: 128 kB / 1.089 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8528, allocations: 0 / 1.089 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002163/0.853, allocations: 19.17 kB / 1.089 GB, free: 12.79 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,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.000166/0.8532, allocations: 109.9 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.8535, allocations: 138.8 kB / 1.089 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8535, allocations: 4.719 kB / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.8535, allocations: 20.27 kB / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.8538, allocations: 15 kB / 1.089 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.8542, allocations: 221.4 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.8545, allocations: 0.6973 MB / 1.09 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.8546, allocations: 12.83 kB / 1.09 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.8546, allocations: 4 kB / 1.09 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of Templates: time 0.003453/0.858, allocations: 1.454 MB / 1.092 GB, free: 11.55 MB / 0.8419 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=400 -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