Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.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.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 107.8 kB / 16.41 MB, free: 6.438 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.001091/0.001091, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 71.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.7951, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/Templates/Plants/Controls/Utilities/PlaceholderLogical.mo:9:3-11:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002097/0.7973, allocations: 0.7401 MB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.7987, allocations: 1.151 MB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-05/0.7988, allocations: 0 / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.7989, allocations: 27.78 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.083e-05/0.799, allocations: 7.875 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.7995, allocations: 147.2 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000184/0.7997, allocations: 127.8 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.7998, allocations: 27.98 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.7999, allocations: 47.84 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.8, allocations: 39.83 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.8, allocations: 12 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.8001, allocations: 15.98 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.8001, allocations: 15.92 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.8002, allocations: 47.78 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.8004, allocations: 111.7 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8004, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8004, allocations: 0 / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8004, allocations: 0 / 1.211 GB, free: 11.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004674/0.8009, allocations: 412.6 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.8009, allocations: 8.031 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.801, allocations: 12.84 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.8012, allocations: 220.6 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.8012, allocations: 384 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.8012, allocations: 12.31 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.8014, allocations: 68.83 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.8014, allocations: 192 / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.8014, allocations: 7.922 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.8014, allocations: 4 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.8015, allocations: 19.88 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.8019, allocations: 0.4892 MB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/0.802, allocations: 18.58 kB / 1.212 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.802, allocations: 8.844 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.802, allocations: 0 / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.672e-05/0.8021, allocations: 63.41 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/0.8021, allocations: 0 / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001787/0.8023, allocations: 69.58 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.8023, allocations: 51.41 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.8025, allocations: 149.7 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.8025, allocations: 29.7 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.8026, allocations: 100.1 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.919e-06/0.8026, allocations: 3.906 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.879e-05/0.8026, allocations: 33.7 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.8028, allocations: 322.8 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.176e-05/0.8028, allocations: 27.98 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.8029, allocations: 50.5 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.803, allocations: 80.5 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.803, allocations: 0 / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000247/0.8033, allocations: 151.2 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.8033, allocations: 39.56 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.8033, allocations: 0 / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.8034, allocations: 4 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.8034, allocations: 7.938 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8034, allocations: 3.938 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.8036, allocations: 32 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.8036, allocations: 11.98 kB / 1.213 GB, free: 8.367 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 (pul.y,$PRE.pul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 8.191e-05/0.8037, allocations: 113.8 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.8037, allocations: 7.906 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.8038, allocations: 4.25 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.8038, allocations: 4 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8038, allocations: 3.938 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8038, allocations: 3.984 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.8039, allocations: 173.7 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8039, allocations: 4 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/0.8039, allocations: 3.938 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.804, allocations: 64 / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.804, allocations: 7.938 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.804, allocations: 0 / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.804, allocations: 7.938 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.985e-05/0.8041, allocations: 84.95 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.8041, allocations: 85.02 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.8042, allocations: 4 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.715e-05/0.8042, allocations: 0 / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.8042, allocations: 11.92 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-06/0.8042, allocations: 0 / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.757e-05/0.8043, allocations: 113.9 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8043, allocations: 0 / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002239/0.8045, allocations: 16 kB / 1.214 GB, free: 7.629 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.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001384/0.8047, allocations: 103.2 kB / 1.214 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.8049, allocations: 127.3 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8049, allocations: 0 / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.08e-05/0.8049, allocations: 12 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.8051, allocations: 11.97 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.8055, allocations: 184.4 kB / 1.214 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.8057, allocations: 0.6965 MB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.8057, allocations: 11.44 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8057, allocations: 0 / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.002675/0.8084, allocations: 1.139 MB / 1.216 GB, free: 5.277 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches