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.001143/0.001143, allocations: 112.9 kB / 16.41 MB, free: 6.492 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.001227/0.001227, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.525/2.525, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9235, allocations: 157.4 MB / 1.208 GB, free: 13.62 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.002995/0.9266, allocations: 0.9261 MB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.9287, allocations: 1.166 MB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.9289, allocations: 7.938 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000174/0.9291, allocations: 19.78 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.528e-05/0.9292, allocations: 19.86 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.9298, allocations: 154.9 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.9302, allocations: 171.6 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.9303, allocations: 49.33 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.9305, allocations: 59.72 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.9306, allocations: 55.75 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.9307, allocations: 16 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.9308, allocations: 27.97 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.9308, allocations: 15.94 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.9309, allocations: 63.72 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.9312, allocations: 175.1 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9313, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9313, allocations: 4 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.9313, allocations: 0 / 1.211 GB, free: 10.7 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.0006481/0.9319, allocations: 426.8 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.932, allocations: 15.97 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.9321, allocations: 8.844 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.9325, allocations: 230.3 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.9325, allocations: 4.375 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.9326, allocations: 12.38 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.9328, allocations: 80.75 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.9328, allocations: 4.188 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.9328, allocations: 3.938 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9328, allocations: 0 / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.9329, allocations: 31.92 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.9336, allocations: 0.5359 MB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.9337, allocations: 30.56 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.9338, allocations: 12.92 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.9338, allocations: 7.984 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.9339, allocations: 67.39 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.9339, allocations: 0 / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002557/0.9342, allocations: 77.53 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.9342, allocations: 55.39 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.9345, allocations: 172 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.9345, allocations: 29.7 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.9346, allocations: 108 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.9347, allocations: 15.84 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.9348, allocations: 29.7 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.935, allocations: 322.8 kB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.9351, allocations: 31.98 kB / 1.213 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.9352, allocations: 58.55 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.9354, allocations: 92.22 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.9355, allocations: 0 / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003782/0.9358, allocations: 171.1 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.9359, allocations: 39.73 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.936, allocations: 3.938 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.936, allocations: 4 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.936, allocations: 0 / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.9361, allocations: 8.062 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.9363, allocations: 35.88 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.9364, allocations: 11.98 kB / 1.214 GB, free: 7.723 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.0001163/0.9365, allocations: 121.8 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.9365, allocations: 7.906 kB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.9366, allocations: 16.92 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.9366, allocations: 0 / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.9366, allocations: 0 / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.9366, allocations: 7.938 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.9368, allocations: 189.6 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9368, allocations: 0 / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.9368, allocations: 4 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9369, allocations: 0 / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.9369, allocations: 4 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9369, allocations: 0 / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.9369, allocations: 4.062 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.937, allocations: 100.8 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.9371, allocations: 93.02 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.9371, allocations: 0 / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-05/0.9372, allocations: 4 kB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.9372, allocations: 3.938 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.9372, allocations: 3.984 kB / 1.214 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001238/0.9374, allocations: 132.2 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9374, allocations: 0 / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003481/0.9377, allocations: 20 kB / 1.215 GB, free: 6.926 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: 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.0001911/0.9379, allocations: 103.2 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.9382, allocations: 139.3 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9383, allocations: 0 / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.582e-05/0.9383, allocations: 16 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.9386, allocations: 19.92 kB / 1.215 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.9393, allocations: 224.8 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.9396, allocations: 0.7002 MB / 1.216 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.9396, allocations: 11.44 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.9397, allocations: 0 / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.004306/0.944, allocations: 1.468 MB / 1.217 GB, free: 4.184 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