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.001804/0.001804, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00243/0.00243, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> 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"}) [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.002095/0.002095, allocations: 69.12 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002448/0.369, allocations: 0.7482 MB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.371, allocations: 1.18 MB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3711, allocations: 4 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.3713, allocations: 31.72 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.3713, allocations: 19.8 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.372, allocations: 132.7 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00025/0.3722, allocations: 123.8 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3724, allocations: 23.78 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3725, allocations: 47.84 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.3726, allocations: 39.83 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.3726, allocations: 12 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.3727, allocations: 27.98 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.3727, allocations: 7.984 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.3728, allocations: 43.78 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3731, allocations: 115.1 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3731, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3731, allocations: 3.938 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3731, allocations: 3.938 kB / 1.286 GB, free: 9.062 MB / 0.9825 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.0006369/0.3738, allocations: 336.3 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3738, allocations: 12.03 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.3739, allocations: 30.75 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.3739, allocations: 20.89 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3742, allocations: 142.4 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3742, allocations: 8.375 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3742, allocations: 8.375 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3744, allocations: 68.77 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3744, allocations: 7.922 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3744, allocations: 7.984 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3744, allocations: 4 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.3745, allocations: 12 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.375, allocations: 468.1 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.825e-05/0.3751, allocations: 22.52 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.3751, allocations: 12.92 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.3751, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.3752, allocations: 55.39 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3752, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002003/0.3754, allocations: 61.64 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.3755, allocations: 59.34 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3757, allocations: 156.1 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.3757, allocations: 29.7 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.3758, allocations: 104.1 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.3758, allocations: 3.953 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.3759, allocations: 33.7 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.376, allocations: 318.8 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.3761, allocations: 31.98 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.772e-05/0.3762, allocations: 42.56 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3763, allocations: 88.2 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3763, allocations: 0 / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002953/0.3766, allocations: 151.2 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.3767, allocations: 37.69 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3767, allocations: 0 / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3767, allocations: 3.938 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.293e-05/0.3767, allocations: 8.094 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3767, allocations: 3.938 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.377, allocations: 23.97 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.377, allocations: 4 kB / 1.288 GB, free: 6.477 MB / 0.9825 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.0001434/0.3771, allocations: 125.8 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.3771, allocations: 7.953 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.3772, allocations: 12.28 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3772, allocations: 4 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3772, allocations: 7.938 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3772, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.3774, allocations: 148.8 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3774, allocations: 4 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.3774, allocations: 4.172 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3774, allocations: 0 / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3774, allocations: 4 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3774, allocations: 0 / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3774, allocations: 3.938 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3775, allocations: 85.06 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.3776, allocations: 19.94 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3776, allocations: 0 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.3776, allocations: 0 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.3777, allocations: 7.938 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3777, allocations: 0 / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3778, allocations: 118.1 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3778, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002421/0.378, allocations: 19.94 kB / 1.289 GB, free: 5.844 MB / 0.9825 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.0006226/0.3786, allocations: 0.6202 MB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.3789, allocations: 115.2 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3789, allocations: 0 / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.579e-05/0.3789, allocations: 8 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3792, allocations: 16.17 kB / 1.289 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.3812, allocations: 1.492 MB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.3816, allocations: 0.6924 MB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.3817, allocations: 11.92 kB / 1.292 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.3817, allocations: 23.44 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of SimCode: time 9.02e-07/0.3817, allocations: 0 / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.4141, allocations: 2.517 MB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 11.67 kB / 1.294 GB, free: 328 kB / 0.9825 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.854803269030526]