Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.817/1.817, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 11.71 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.192e-05, allocations: 3.094 kB / 0.7871 GB, free: 11.71 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.004727/0.004749, allocations: 0.7514 MB / 0.7878 GB, free: 10.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.006419, allocations: 1.19 MB / 0.789 GB, free: 9.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.006493, allocations: 7.938 kB / 0.789 GB, free: 9.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.00663, allocations: 24.92 kB / 0.789 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.013e-05/0.00666, allocations: 3.938 kB / 0.789 GB, free: 9.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.007096, allocations: 136.1 kB / 0.7891 GB, free: 9.605 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.00727, allocations: 128.5 kB / 0.7893 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.01039, allocations: 23.97 kB / 0.7893 GB, free: 9.457 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.666e-05/0.01049, allocations: 60.97 kB / 0.7894 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.01057, allocations: 31.89 kB / 0.7894 GB, free: 9.367 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.01059, allocations: 13.81 kB / 0.7894 GB, free: 9.355 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.01066, allocations: 19.98 kB / 0.7894 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.01068, allocations: 11.92 kB / 0.7894 GB, free: 9.324 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.01073, allocations: 31.92 kB / 0.7895 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.0109, allocations: 91.69 kB / 0.7895 GB, free: 9.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.0109, allocations: 0.5625 kB / 0.7895 GB, free: 9.203 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.32e-07/0.0109, allocations: 4 kB / 0.7895 GB, free: 9.199 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.0109, allocations: 0.75 kB / 0.7895 GB, free: 9.199 MB / 0.698 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.0004354/0.01134, allocations: 434.8 kB / 0.79 GB, free: 8.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.01137, allocations: 12.03 kB / 0.79 GB, free: 8.719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.01143, allocations: 20.84 kB / 0.79 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.01162, allocations: 147.8 kB / 0.7901 GB, free: 8.531 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.01163, allocations: 8.375 kB / 0.7901 GB, free: 8.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.01165, allocations: 8.375 kB / 0.7902 GB, free: 8.516 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.01175, allocations: 77.23 kB / 0.7902 GB, free: 8.422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.01176, allocations: 192 / 0.7902 GB, free: 8.422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.01177, allocations: 4.375 kB / 0.7902 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01178, allocations: 4.375 kB / 0.7902 GB, free: 8.414 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.649e-05/0.01181, allocations: 17.39 kB / 0.7902 GB, free: 8.398 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.01218, allocations: 0.5522 MB / 0.7908 GB, free: 7.801 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.272e-05/0.01222, allocations: 30.94 kB / 0.7908 GB, free: 7.758 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.01223, allocations: 11.75 kB / 0.7908 GB, free: 7.742 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-06/0.01224, allocations: 0.5938 kB / 0.7908 GB, free: 7.742 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.278e-05/0.01233, allocations: 69.88 kB / 0.7909 GB, free: 7.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.01233, allocations: 0 / 0.7909 GB, free: 7.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001664/0.0125, allocations: 62.39 kB / 0.791 GB, free: 7.594 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.01253, allocations: 55.41 kB / 0.791 GB, free: 7.527 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01264, allocations: 190.5 kB / 0.7912 GB, free: 7.328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01266, allocations: 29.7 kB / 0.7912 GB, free: 7.293 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.01272, allocations: 146.8 kB / 0.7914 GB, free: 7.145 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.01273, allocations: 7.953 kB / 0.7914 GB, free: 7.137 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.01279, allocations: 37.17 kB / 0.7914 GB, free: 7.094 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01291, allocations: 0.4922 MB / 0.7919 GB, free: 6.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.132e-05/0.01298, allocations: 53.69 kB / 0.7919 GB, free: 6.531 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.01306, allocations: 84.73 kB / 0.792 GB, free: 6.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.01314, allocations: 94.44 kB / 0.7921 GB, free: 6.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.01315, allocations: 3.938 kB / 0.7921 GB, free: 6.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.003232/0.01638, allocations: 174.9 kB / 0.7923 GB, free: 6.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.01641, allocations: 39.09 kB / 0.7923 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01641, allocations: 0 / 0.7923 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.01643, allocations: 0 / 0.7923 GB, free: 6.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.611e-05/0.01644, allocations: 4 kB / 0.7923 GB, free: 6.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01645, allocations: 6.562 kB / 0.7923 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.01658, allocations: 19.92 kB / 0.7923 GB, free: 6.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.0166, allocations: 7.984 kB / 0.7923 GB, free: 6.051 MB / 0.698 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.093e-05/0.01668, allocations: 164.5 kB / 0.7925 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.01669, allocations: 11.95 kB / 0.7925 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.01672, allocations: 12.81 kB / 0.7925 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01672, allocations: 3.984 kB / 0.7925 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01673, allocations: 0.7188 kB / 0.7925 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01673, allocations: 0.5312 kB / 0.7925 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.01682, allocations: 132.6 kB / 0.7927 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01683, allocations: 5.562 kB / 0.7927 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-06/0.01683, allocations: 0 / 0.7927 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.01683, allocations: 0 / 0.7927 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.01684, allocations: 3.984 kB / 0.7927 GB, free: 5.676 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01684, allocations: 4.594 kB / 0.7927 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01684, allocations: 0 / 0.7927 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.269e-05/0.01693, allocations: 89.08 kB / 0.7928 GB, free: 5.562 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.01694, allocations: 7.891 kB / 0.7928 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.01696, allocations: 0.75 kB / 0.7928 GB, free: 5.555 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.447e-05/0.01697, allocations: 12 kB / 0.7928 GB, free: 5.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.017, allocations: 4.984 kB / 0.7928 GB, free: 5.539 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.017, allocations: 0 / 0.7928 GB, free: 5.539 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.01706, allocations: 144.2 kB / 0.7929 GB, free: 5.398 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01706, allocations: 0 / 0.7929 GB, free: 5.398 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002075/0.01726, allocations: 16 kB / 0.7929 GB, free: 5.383 MB / 0.698 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.0001205/0.01738, allocations: 112.6 kB / 0.793 GB, free: 5.262 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001811/0.01757, allocations: 140.8 kB / 0.7932 GB, free: 5.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01757, allocations: 0.8438 kB / 0.7932 GB, free: 5.102 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.0176, allocations: 31.59 kB / 0.7932 GB, free: 5.066 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.01778, allocations: 20.19 kB / 0.7932 GB, free: 5.051 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.01807, allocations: 154.8 kB / 0.7934 GB, free: 4.867 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.004e-05/0.01811, allocations: 60.25 kB / 0.7934 GB, free: 4.789 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.01813, allocations: 4 kB / 0.7934 GB, free: 4.785 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.01816, allocations: 14.66 kB / 0.7935 GB, free: 4.77 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/0.01816, allocations: 0 / 0.7935 GB, free: 4.77 MB / 0.698 GB Notification: Performance of Templates: time 0.006249/0.02441, allocations: 1.187 MB / 0.7946 GB, free: 3.637 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.019641770981252]