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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 199.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 497.2 MB / 0.7845 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|phNo.y|phPar.y|phInp.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 70.77 kB / 1.139 GB, free: 33.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3035, allocations: 173.9 MB / 1.309 GB, free: 4 kB / 0.9981 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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.002122/0.3056, allocations: 0.7466 MB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.307, allocations: 1.158 MB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.3071, allocations: 4 kB / 1.311 GB, free: 14.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.3073, allocations: 19.73 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.792e-05/0.3073, allocations: 19.86 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.3077, allocations: 126.8 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3079, allocations: 131.7 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.308, allocations: 27.92 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.3081, allocations: 43.91 kB / 1.311 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.3082, allocations: 35.83 kB / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3082, allocations: 8 kB / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.238e-05/0.3083, allocations: 23.98 kB / 1.312 GB, free: 13.65 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.3083, allocations: 15.92 kB / 1.312 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.3084, allocations: 43.78 kB / 1.312 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.3085, allocations: 111.6 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3085, allocations: 0 / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 6.41e-07/0.3085, allocations: 3.938 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.3085, allocations: 0 / 1.312 GB, free: 13.48 MB / 1.014 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.0005463/0.3091, allocations: 416.8 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3091, allocations: 12.86 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.3092, allocations: 12.89 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.3094, allocations: 196.3 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3094, allocations: 8.359 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3095, allocations: 8.375 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.3096, allocations: 76.81 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3096, allocations: 192 / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3096, allocations: 3.938 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3096, allocations: 7.938 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.3096, allocations: 15.98 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.3102, allocations: 0.4931 MB / 1.313 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/0.3102, allocations: 14.58 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.3102, allocations: 8.922 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.3102, allocations: 0 / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.424e-05/0.3103, allocations: 63.33 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3103, allocations: 0 / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0001821/0.3105, allocations: 69.83 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3105, allocations: 55.39 kB / 1.313 GB, free: 11.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.3107, allocations: 147.6 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.3107, allocations: 33.64 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.3108, allocations: 104.1 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.3108, allocations: 0 / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.3109, allocations: 33.7 kB / 1.313 GB, free: 11.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.311, allocations: 322.8 kB / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.3111, allocations: 31.92 kB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.3111, allocations: 50.56 kB / 1.314 GB, free: 11.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.3112, allocations: 80.3 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3112, allocations: 0 / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002444/0.3115, allocations: 147.3 kB / 1.314 GB, free: 10.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.3115, allocations: 45.78 kB / 1.314 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3115, allocations: 4 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3115, allocations: 7.938 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.206e-05/0.3116, allocations: 0 / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3116, allocations: 3.938 kB / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.3117, allocations: 27.92 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3118, allocations: 8 kB / 1.314 GB, free: 10.73 MB / 1.014 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.674e-05/0.3119, allocations: 121.8 kB / 1.314 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.3119, allocations: 11.95 kB / 1.314 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.3119, allocations: 8.25 kB / 1.314 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.3119, allocations: 3.938 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3119, allocations: 3.938 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.3119, allocations: 0 / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.312, allocations: 177.6 kB / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.312, allocations: 0 / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.3121, allocations: 0 / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3121, allocations: 0 / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.3121, allocations: 0 / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.3121, allocations: 4 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3121, allocations: 7.938 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.3122, allocations: 85 kB / 1.315 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.3122, allocations: 85.06 kB / 1.315 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3122, allocations: 0 / 1.315 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.3123, allocations: 0 / 1.315 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.3123, allocations: 7.938 kB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3123, allocations: 3.938 kB / 1.315 GB, free: 10.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.916e-05/0.3124, allocations: 121.3 kB / 1.315 GB, free: 10 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3124, allocations: 0 / 1.315 GB, free: 10 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002043/0.3126, allocations: 19.94 kB / 1.315 GB, free: 9.984 MB / 1.014 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.0001327/0.3127, allocations: 107.2 kB / 1.315 GB, free: 9.867 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.3129, allocations: 107.3 kB / 1.315 GB, free: 9.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3129, allocations: 0 / 1.315 GB, free: 9.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-05/0.3129, allocations: 12 kB / 1.315 GB, free: 9.738 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.3131, allocations: 20.16 kB / 1.315 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.3134, allocations: 165.6 kB / 1.315 GB, free: 9.523 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3137, allocations: 0.6924 MB / 1.316 GB, free: 8.805 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.3138, allocations: 7.984 kB / 1.316 GB, free: 8.797 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.3138, allocations: 15.38 kB / 1.316 GB, free: 8.785 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3138, allocations: 0 / 1.316 GB, free: 8.785 MB / 1.014 GB Notification: Performance of Templates: time 0.003636/0.3174, allocations: 1.163 MB / 1.317 GB, free: 7.645 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (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=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.758349557872862]