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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004732/0.004732, allocations: 102.1 kB / 15.73 MB, free: 6.066 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.001347/0.001347, allocations: 191.4 kB / 16.67 MB, free: 5.973 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.209/1.209, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.344/2.344, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 63.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5813, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001594/0.5829, allocations: 0.7365 MB / 1.221 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.5842, allocations: 1.151 MB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.5842, allocations: 0 / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.5844, allocations: 23.8 kB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.5844, allocations: 11.86 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.5848, allocations: 138.8 kB / 1.222 GB, free: 15.99 MB / 0.9512 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 NFFlatten.flatten: time 0.000173/0.585, allocations: 131.8 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.5851, allocations: 27.98 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.45e-05/0.5851, allocations: 47.75 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.349e-05/0.5852, allocations: 39.83 kB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.5853, allocations: 11.94 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.5853, allocations: 23.98 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.5854, allocations: 15.92 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.5854, allocations: 39.8 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.5856, allocations: 111.5 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5856, allocations: 4 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5856, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.5856, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9512 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.0004265/0.586, allocations: 412.7 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.5861, allocations: 8.031 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.5861, allocations: 42.67 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.5861, allocations: 8.891 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.5864, allocations: 211 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.5864, allocations: 8.375 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.5864, allocations: 8.375 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.5865, allocations: 72.8 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.5866, allocations: 7.938 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.5866, allocations: 0 / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5866, allocations: 3.938 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.315e-05/0.5866, allocations: 19.98 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.587, allocations: 497 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.865e-05/0.5871, allocations: 18.58 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.5871, allocations: 8.922 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.5871, allocations: 7.938 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.65e-05/0.5872, allocations: 63.28 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.5872, allocations: 0 / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001509/0.5874, allocations: 65.64 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.5874, allocations: 51.41 kB / 1.224 GB, free: 13.86 MB / 0.9512 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.0001344/0.5875, allocations: 155.6 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5876, allocations: 25.7 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.5876, allocations: 100.1 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.894e-06/0.5876, allocations: 7.953 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.5877, allocations: 33.7 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.5878, allocations: 318.8 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.5879, allocations: 31.92 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.099e-05/0.588, allocations: 46.56 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.5881, allocations: 80.5 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5881, allocations: 0 / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002321/0.5883, allocations: 155.2 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.5884, allocations: 33.7 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5884, allocations: 7.984 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.5884, allocations: 7.875 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.075e-05/0.5884, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5884, allocations: 7.938 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.5886, allocations: 35.95 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.5886, allocations: 4 kB / 1.225 GB, free: 12.75 MB / 0.9512 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 7.979e-05/0.5887, allocations: 114.4 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.5887, allocations: 11.94 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.5887, allocations: 8.25 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.5888, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5888, allocations: 3.938 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.5888, allocations: 0 / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.5889, allocations: 177.6 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.5889, allocations: 4 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.5889, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5889, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.5889, allocations: 4 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5889, allocations: 0 / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5889, allocations: 7.875 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.729e-05/0.589, allocations: 85.92 kB / 1.225 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.5891, allocations: 85.05 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.5891, allocations: 4 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.807e-05/0.5891, allocations: 8.062 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.5892, allocations: 3.938 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.5892, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.272e-05/0.5892, allocations: 117.1 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5892, allocations: 0 / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001864/0.5894, allocations: 16 kB / 1.226 GB, free: 12.02 MB / 0.9512 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.0003646/0.5898, allocations: 0.6318 MB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.59, allocations: 123.3 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.59, allocations: 0 / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.59, allocations: 15.94 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.5902, allocations: 10.17 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5916, allocations: 1.503 MB / 1.228 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.5918, allocations: 0.6924 MB / 1.229 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.5919, allocations: 11.92 kB / 1.229 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.5919, allocations: 19.44 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.5919, allocations: 4 kB / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.794/6.386, allocations: 2.416 MB / 1.231 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/18.9, allocations: 14.05 kB / 1.231 GB, free: 6.57 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > 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