Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001757/0.001757, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00185/0.00185, allocations: 209.9 kB / 22.24 MB, free: 5.262 MB / 14.72 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.568/1.568, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.387/3.387, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.58 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4051, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.003348/0.4085, allocations: 0.7378 MB / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.4108, allocations: 1.163 MB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.411, allocations: 3.938 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.4112, allocations: 23.86 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.4112, allocations: 7.875 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.4118, allocations: 135.5 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.4121, allocations: 127.7 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.4123, allocations: 27.92 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.4124, allocations: 43.84 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.4125, allocations: 39.83 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.4125, allocations: 8 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.4126, allocations: 23.98 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.4126, allocations: 8 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.4127, allocations: 43.78 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.413, allocations: 119.5 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.413, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.444e-06/0.413, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.413, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 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.0006601/0.4137, allocations: 331.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4137, allocations: 8.031 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.4138, allocations: 16.89 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.4141, allocations: 146.4 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.4141, allocations: 384 / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.4141, allocations: 16.36 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.4143, allocations: 68.77 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4143, allocations: 4.188 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4143, allocations: 3.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.4143, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.4144, allocations: 23.92 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.4149, allocations: 420.8 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.415, allocations: 22.52 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.415, allocations: 8.922 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.415, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.4151, allocations: 59.39 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4151, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002187/0.4153, allocations: 69.58 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.4154, allocations: 55.41 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4155, allocations: 132.6 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.4156, allocations: 37.69 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.4156, allocations: 100.1 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.4157, allocations: 11.89 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.4157, allocations: 33.7 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4159, allocations: 318.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.416, allocations: 57.69 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.4161, allocations: 80.25 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.4163, allocations: 88.42 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4163, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002965/0.4166, allocations: 185 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.4166, allocations: 37.69 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4166, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4166, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.711e-05/0.4166, allocations: 4 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.4166, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.4168, allocations: 23.97 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.4169, allocations: 7.984 kB / 1.33 GB, free: 12.84 MB / 1.029 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 0.0001131/0.417, allocations: 130.4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.417, allocations: 11.89 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.417, allocations: 8.344 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.417, allocations: 3.938 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.417, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.417, allocations: 64 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.4172, allocations: 129.2 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4172, allocations: 0 / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-06/0.4172, allocations: 0 / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4172, allocations: 0 / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.4172, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4172, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4172, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.4173, allocations: 89 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.4174, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.4174, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.5e-05/0.4174, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.4174, allocations: 3.984 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.4174, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.213e-05/0.4175, allocations: 99.27 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4175, allocations: 3.938 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002292/0.4177, allocations: 27.83 kB / 1.331 GB, free: 12.26 MB / 1.029 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.0001799/0.4179, allocations: 104.8 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.4182, allocations: 137.1 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4182, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.4182, allocations: 11.94 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.4184, allocations: 15.92 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.4188, allocations: 158.8 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.171e-05/0.4189, allocations: 75.52 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.4189, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.4189, allocations: 11.44 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4189, allocations: 0 / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of Templates: time 0.004628/0.4236, allocations: 1.224 MB / 1.332 GB, free: 10.48 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.657314857468009]