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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001296/0.001296, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001225/0.001225, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.681/2.681, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 66.72 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.311, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001984/0.313, allocations: 0.7993 MB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3144, allocations: 1.147 MB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.3145, allocations: 7.938 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.3147, allocations: 15.86 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.147e-05/0.3147, allocations: 11.92 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.3151, allocations: 105.4 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3153, allocations: 147.6 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3154, allocations: 27.98 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.3155, allocations: 39.86 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.581e-05/0.3156, allocations: 43.81 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3156, allocations: 8 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-05/0.3157, allocations: 27.92 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.3157, allocations: 8 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.975e-05/0.3158, allocations: 43.78 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.3159, allocations: 75.84 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3159, allocations: 4 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3159, allocations: 0 / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.316, allocations: 0 / 1.067 GB, free: 12.61 MB / 0.8419 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.0005166/0.3165, allocations: 413.3 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3165, allocations: 8.625 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.3166, allocations: 8.844 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3168, allocations: 208.1 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3168, allocations: 4.375 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3169, allocations: 12.38 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.317, allocations: 76.75 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.317, allocations: 4.172 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.317, allocations: 7.938 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.317, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.28e-05/0.3171, allocations: 15.94 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.3176, allocations: 493 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.3177, allocations: 34.45 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.3177, allocations: 4.859 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.3177, allocations: 4.062 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.3178, allocations: 55.39 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3178, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000195/0.318, allocations: 69.53 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.3181, allocations: 55.41 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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 selectInitializationVariablesDAE (initialization): time 0.0001629/0.3182, allocations: 158.8 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3183, allocations: 25.7 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.3183, allocations: 96.05 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.132e-05/0.3184, allocations: 7.984 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3184, allocations: 33.7 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3186, allocations: 310.8 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.3187, allocations: 35.97 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.3188, allocations: 46.56 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3189, allocations: 84.2 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3189, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002634/0.3192, allocations: 147.2 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.3192, allocations: 37.64 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3192, allocations: 8.094 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3192, allocations: 0 / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.68e-05/0.3193, allocations: 3.984 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3193, allocations: 3.938 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.3195, allocations: 31.88 kB / 1.069 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3195, allocations: 4 kB / 1.069 GB, free: 9.863 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.43e-05/0.3196, allocations: 116 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.3196, allocations: 15.89 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.3197, allocations: 12.25 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3197, allocations: 0 / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3197, allocations: 7.875 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3197, allocations: 0 / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3198, allocations: 177.6 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3199, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.18e-06/0.3199, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3199, allocations: 240 / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3199, allocations: 3.938 kB / 1.069 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3199, allocations: 4 kB / 1.069 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3199, allocations: 7.938 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.32, allocations: 85.08 kB / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.3201, allocations: 93 kB / 1.069 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.3201, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.584e-05/0.3201, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.3202, allocations: 7.938 kB / 1.069 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.3202, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.111e-05/0.3203, allocations: 119 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.904e-06/0.3203, allocations: 0 / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002119/0.3205, allocations: 23.94 kB / 1.07 GB, free: 9.105 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.0001346/0.3206, allocations: 103.2 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.3208, allocations: 115.4 kB / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3209, allocations: 0 / 1.07 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.3209, allocations: 15.94 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.3211, allocations: 16.17 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3214, allocations: 196.4 kB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3218, allocations: 0.6885 MB / 1.071 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.3218, allocations: 19.38 kB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3218, allocations: 0 / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of Templates: time 0.002863/0.3247, allocations: 1.141 MB / 1.072 GB, free: 6.746 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches