Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001709/0.001709, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002128/0.002128, allocations: 215.5 kB / 22.24 MB, free: 5.258 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.809 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.228/3.228, allocations: 0.49 GB / 0.7951 GB, free: 35.55 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",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.002075/0.002075, allocations: 67.2 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3513, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderInteger.mo:9:3-12:47:writable] Warning: Parameter phInp.u_internal has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger): time 0.002386/0.3537, allocations: 0.8316 MB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.3554, allocations: 1.194 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.3555, allocations: 7.938 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.3556, allocations: 19.8 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.3557, allocations: 23.8 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.3562, allocations: 146.8 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.3565, allocations: 171.6 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3566, allocations: 37.8 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.262e-05/0.3567, allocations: 55.84 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3569, allocations: 59.73 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.3569, allocations: 16 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.357, allocations: 24 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.811e-05/0.357, allocations: 15.92 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.3571, allocations: 43.8 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.3573, allocations: 175.4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3573, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3573, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3573, allocations: 3.938 kB / 1.329 GB, free: 14.7 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005803/0.3579, allocations: 355.5 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.358, allocations: 12.03 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.358, allocations: 38.73 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.358, allocations: 16.84 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.3583, allocations: 168.5 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3583, allocations: 8.375 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.3584, allocations: 8.375 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3585, allocations: 84.75 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3585, allocations: 3.938 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.3585, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3585, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.3586, allocations: 31.92 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.3592, allocations: 484.1 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.3592, allocations: 26.58 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.3593, allocations: 16.91 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3593, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.3594, allocations: 63.33 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3594, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000213/0.3596, allocations: 77.64 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3597, allocations: 51.41 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3599, allocations: 184.8 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3599, allocations: 29.7 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.36, allocations: 112 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.36, allocations: 7.953 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.36, allocations: 29.7 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3602, allocations: 326.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3603, allocations: 69.69 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.3604, allocations: 92.19 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3605, allocations: 88.27 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3605, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000315/0.3609, allocations: 200.9 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.3609, allocations: 41.69 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3609, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3609, allocations: 8.125 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.361, allocations: 7.938 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.361, allocations: 7.938 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.3612, allocations: 27.91 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.3612, allocations: 4 kB / 1.331 GB, free: 11.79 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001057/0.3613, allocations: 125.8 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.3613, allocations: 15.91 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.3613, allocations: 9.031 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3613, allocations: 4 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3614, allocations: 3.938 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3614, allocations: 240 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.3615, allocations: 156.7 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3615, allocations: 4 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.3615, allocations: 0 / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3615, allocations: 3.984 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.3615, allocations: 0 / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3615, allocations: 4 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3615, allocations: 3.938 kB / 1.331 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.3617, allocations: 97 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.3617, allocations: 19.84 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3617, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/0.3617, allocations: 0 / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.3618, allocations: 11.92 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3618, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001121/0.3619, allocations: 128 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3619, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002262/0.3621, allocations: 16 kB / 1.332 GB, free: 11.12 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: 4 ($whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0004801/0.3626, allocations: 0.6436 MB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3629, allocations: 157.1 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3629, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.3629, allocations: 15.94 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.3631, allocations: 26.48 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3651, allocations: 1.778 MB / 1.334 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.455e-05/0.3652, allocations: 88.27 kB / 1.334 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.3653, allocations: 12.36 kB / 1.334 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.3653, allocations: 27.42 kB / 1.334 GB, free: 8.188 MB / 1.029 GB Notification: Performance of SimCode: time 4.8e-07/0.3653, allocations: 0 / 1.334 GB, free: 8.188 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.3971, allocations: 3.496 MB / 1.338 GB, free: 4.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 10.92 kB / 1.338 GB, free: 4.855 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable phNo.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phNo.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phPar.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phPar.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! Error: Could not read variable phInp.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv. Warning: Get data of variable phInp.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.440758674987592]