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.001777/0.001777, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001832/0.001833, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.575/1.575, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 61.11 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3207, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal): time 0.002204/0.323, allocations: 0.9282 MB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3244, allocations: 1.17 MB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/0.3245, allocations: 4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.3247, allocations: 27.72 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.347e-05/0.3247, allocations: 19.8 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.3252, allocations: 146.9 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3255, allocations: 187.6 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3256, allocations: 41.38 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.3257, allocations: 55.83 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.3258, allocations: 43.78 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.3258, allocations: 16 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.3259, allocations: 27.98 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.3259, allocations: 23.86 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.326, allocations: 55.77 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.3262, allocations: 163.8 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3263, allocations: 4 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3263, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3263, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 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.0005591/0.3268, allocations: 440.7 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3269, allocations: 8.031 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.2e-05/0.3269, allocations: 12.84 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.3272, allocations: 218.9 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3272, allocations: 4.375 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.3272, allocations: 12.31 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3274, allocations: 88.81 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3274, allocations: 192 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3274, allocations: 7.938 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3274, allocations: 0 / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.3275, allocations: 27.92 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.328, allocations: 0.5399 MB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.064e-05/0.3281, allocations: 30.58 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.3281, allocations: 8.922 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.3281, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.3283, allocations: 75.33 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3283, allocations: 3.938 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002081/0.3285, allocations: 77.58 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3285, allocations: 51.41 kB / 1.073 GB, free: 5.688 MB / 0.8262 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.0001696/0.3287, allocations: 169.2 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3287, allocations: 33.7 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.3288, allocations: 112 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.3288, allocations: 3.906 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.3289, allocations: 33.7 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.329, allocations: 326.8 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.3291, allocations: 31.98 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.3292, allocations: 58.73 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.3293, allocations: 92.2 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3293, allocations: 4 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002609/0.3296, allocations: 167.3 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.3297, allocations: 37.7 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3297, allocations: 3.984 kB / 1.074 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3297, allocations: 7.984 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.3298, allocations: 3.984 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3298, allocations: 7.938 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.33, allocations: 31.81 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.33, allocations: 8.062 kB / 1.074 GB, free: 4.5 MB / 0.8262 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.142e-05/0.3301, allocations: 125.8 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.3301, allocations: 7.906 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.3302, allocations: 8.938 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3302, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3302, allocations: 0 / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3302, allocations: 3.938 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.3303, allocations: 193.6 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3303, allocations: 0 / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.3304, allocations: 8 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3304, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3304, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3304, allocations: 3.984 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3304, allocations: 0 / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.3305, allocations: 100.8 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.3306, allocations: 85.02 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3306, allocations: 0 / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.3306, allocations: 11.98 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.3307, allocations: 11.88 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3307, allocations: 0 / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.781e-05/0.3308, allocations: 125.8 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3308, allocations: 0 / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002149/0.331, allocations: 28 kB / 1.074 GB, free: 3.703 MB / 0.8262 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.0001397/0.3311, allocations: 99.77 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.3314, allocations: 139.3 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3314, allocations: 4.125 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/0.3314, allocations: 19.98 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3317, allocations: 17.95 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.332, allocations: 190.6 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.3323, allocations: 0.6924 MB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.3323, allocations: 12.36 kB / 1.075 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.3323, allocations: 11.44 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3323, allocations: 3.938 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.003952/0.3363, allocations: 1.469 MB / 1.077 GB, free: 1.004 MB / 0.8262 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/jenkins/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