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 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.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.001466/0.001466, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.001473/0.001473, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.709/2.709, allocations: 482.2 MB / 0.7548 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 73.92 kB / 0.9238 GB, free: 488 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7264, allocations: 162.2 MB / 1.082 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.00196/0.7284, allocations: 0.7956 MB / 1.083 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.7295, allocations: 1.144 MB / 1.084 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.7296, allocations: 2.531 kB / 1.084 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.7297, allocations: 19.05 kB / 1.084 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.351e-05/0.7298, allocations: 9.375 kB / 1.084 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.7302, allocations: 124.5 kB / 1.084 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.7304, allocations: 132.6 kB / 1.084 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.7305, allocations: 32.2 kB / 1.084 GB, free: 220 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.7305, allocations: 47.89 kB / 1.084 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.7306, allocations: 34.38 kB / 1.084 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.7306, allocations: 9.75 kB / 1.084 GB, free: 180 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.7307, allocations: 22.44 kB / 1.084 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.7307, allocations: 12.11 kB / 1.084 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.7308, allocations: 45.61 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.7309, allocations: 77.08 kB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7309, allocations: 0 / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.834e-06/0.731, allocations: 5.344 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.731, allocations: 0 / 1.085 GB, free: 116 kB / 0.8262 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.0004833/0.7314, allocations: 406.2 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7315, allocations: 9.938 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.7316, allocations: 10.8 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.7318, allocations: 208.8 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.7318, allocations: 8.188 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.7318, allocations: 10.45 kB / 1.085 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.732, allocations: 68.77 kB / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.732, allocations: 192 / 1.085 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.732, allocations: 6.016 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.732, allocations: 1.281 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.7321, allocations: 19.23 kB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.7326, allocations: 0.4923 MB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.7326, allocations: 19.2 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.396e-05/0.7326, allocations: 11.27 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.7326, allocations: 0.5156 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.7328, allocations: 65.55 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.7328, allocations: 0 / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0001808/0.733, allocations: 61 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.733, allocations: 53.31 kB / 1.086 GB, free: 14.72 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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 selectInitializationVariablesDAE (initialization): time 0.0001584/0.7332, allocations: 156.2 kB / 1.086 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.7332, allocations: 32.55 kB / 1.086 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.7333, allocations: 94.67 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.7333, allocations: 13.17 kB / 1.086 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.7334, allocations: 30.69 kB / 1.086 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7335, allocations: 320 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.7336, allocations: 26.77 kB / 1.087 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.7337, allocations: 52.77 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.7338, allocations: 83.95 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7338, allocations: 0.5625 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002494/0.7341, allocations: 144.3 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.7341, allocations: 39.44 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7341, allocations: 1.344 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.7341, allocations: 2.203 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-05/0.7342, allocations: 5.094 kB / 1.087 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.7342, allocations: 9.406 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.7344, allocations: 33.08 kB / 1.087 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.7344, allocations: 6.062 kB / 1.087 GB, free: 13.86 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 (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 9.533e-05/0.7345, allocations: 120.2 kB / 1.087 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.7345, allocations: 16.17 kB / 1.087 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.7346, allocations: 12.34 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7346, allocations: 0.8438 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7346, allocations: 3.938 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.7346, allocations: 1.547 kB / 1.087 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.7348, allocations: 174 kB / 1.087 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7348, allocations: 0.5312 kB / 1.087 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-06/0.7348, allocations: 1.297 kB / 1.087 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.7348, allocations: 4.75 kB / 1.087 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.7348, allocations: 1.422 kB / 1.087 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7348, allocations: 0.7812 kB / 1.087 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7348, allocations: 4.734 kB / 1.087 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.7349, allocations: 85.86 kB / 1.087 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.735, allocations: 83.88 kB / 1.087 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.735, allocations: 5.828 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.661e-05/0.735, allocations: 0.7188 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.7351, allocations: 6.656 kB / 1.088 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.7351, allocations: 5.75 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.466e-05/0.7352, allocations: 110 kB / 1.088 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7352, allocations: 0 / 1.088 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000209/0.7354, allocations: 16.98 kB / 1.088 GB, free: 13.23 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.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.0001531/0.7355, allocations: 101.5 kB / 1.088 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.7358, allocations: 126.9 kB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7358, allocations: 0.5 kB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.7358, allocations: 13.73 kB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.736, allocations: 11.66 kB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.7364, allocations: 202.2 kB / 1.088 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.7367, allocations: 0.6906 MB / 1.089 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.7367, allocations: 11.88 kB / 1.089 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.7367, allocations: 0 / 1.089 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.002855/0.7396, allocations: 1.144 MB / 1.09 GB, free: 12.04 MB / 0.8419 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