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.001645/0.001645, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002096/0.002096, allocations: 195 kB / 16.14 MB, free: 6.648 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.05 kB / 0.9114 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3303, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002001/0.3323, allocations: 0.8096 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3337, allocations: 1.159 MB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.3338, allocations: 3.938 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.3339, allocations: 19.86 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.334, allocations: 7.922 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.3344, allocations: 107.9 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3345, allocations: 119.7 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3346, allocations: 27.97 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.3347, allocations: 39.84 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.3348, allocations: 39.77 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3348, allocations: 8 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-05/0.3349, allocations: 23.98 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.3349, allocations: 4 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.685e-05/0.335, allocations: 43.77 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.3351, allocations: 111.6 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3351, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.11e-07/0.3351, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3352, allocations: 0 / 1.07 GB, free: 8.406 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004499/0.3356, allocations: 409.3 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3356, allocations: 8.031 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.3357, allocations: 12.84 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3359, allocations: 208.1 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3359, allocations: 4.375 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.336, allocations: 4.375 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.3361, allocations: 68.77 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3361, allocations: 192 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3361, allocations: 11.94 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3361, allocations: 0 / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.3362, allocations: 23.91 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.3366, allocations: 493 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.666e-05/0.3367, allocations: 30.45 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.3367, allocations: 8.922 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.3367, allocations: 4 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.929e-05/0.3368, allocations: 55.39 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3368, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001871/0.337, allocations: 73.52 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.3371, allocations: 51.41 kB / 1.071 GB, free: 6.762 MB / 0.8262 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.0001488/0.3372, allocations: 156.5 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.3372, allocations: 25.7 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.3373, allocations: 100.1 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.3373, allocations: 11.91 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.3374, allocations: 29.7 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3375, allocations: 318.8 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.3376, allocations: 27.98 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.3377, allocations: 46.56 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.3378, allocations: 84.2 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3378, allocations: 0 / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002464/0.338, allocations: 151.3 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.3381, allocations: 33.69 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3381, allocations: 8 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3381, allocations: 0 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.761e-05/0.3381, allocations: 0 / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.3381, allocations: 3.938 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3384, allocations: 36 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3384, allocations: 15.92 kB / 1.072 GB, free: 5.66 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 (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 9e-05/0.3385, allocations: 117.8 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.3385, allocations: 7.906 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.3386, allocations: 8.25 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3386, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3386, allocations: 7.922 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.3386, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.3387, allocations: 173.7 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3387, allocations: 0 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.3387, allocations: 4 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3387, allocations: 0 / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3388, allocations: 11.92 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3388, allocations: 0 / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3388, allocations: 3.938 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.3389, allocations: 85.25 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.3389, allocations: 85.02 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.339, allocations: 0 / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.339, allocations: 4 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.339, allocations: 7.922 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.339, allocations: 3.938 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.3391, allocations: 114.1 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3391, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002136/0.3393, allocations: 19.98 kB / 1.073 GB, free: 4.918 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.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.0001338/0.3395, allocations: 103.2 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.3397, allocations: 119.4 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3397, allocations: 0 / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.3397, allocations: 15.92 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.3399, allocations: 11.98 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.3402, allocations: 164.7 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3405, allocations: 0.6926 MB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.3405, allocations: 7.781 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/0.3405, allocations: 11.38 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3405, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.003469/0.344, allocations: 1.114 MB / 1.075 GB, free: 2.633 MB / 0.8262 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/jenkins/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