Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.00181/0.00181, allocations: 110 kB / 16.46 MB, free: 6.453 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.002139/0.002139, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.317/3.317, allocations: 0.49 GB / 0.7916 GB, free: 33.52 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.PlaceholderReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",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.003622/0.003622, allocations: 67.05 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.353, allocations: 176.1 MB / 1.321 GB, free: 3.391 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Templates/Plants/Controls/Utilities/PlaceholderReal.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.PlaceholderReal): time 0.002275/0.3553, allocations: 0.941 MB / 1.322 GB, free: 2.457 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3569, allocations: 1.205 MB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.357, allocations: 4 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.3571, allocations: 19.78 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.3572, allocations: 23.8 kB / 1.323 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.3576, allocations: 143.7 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.3579, allocations: 175.6 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.358, allocations: 41.59 kB / 1.323 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.3581, allocations: 55.84 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.3582, allocations: 55.7 kB / 1.323 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.3582, allocations: 12 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.448e-05/0.3583, allocations: 27.98 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3583, allocations: 19.91 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.3584, allocations: 55.73 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.3586, allocations: 171.4 kB / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3586, allocations: 0 / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3586, allocations: 0 / 1.324 GB, free: 456 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3587, allocations: 4 kB / 1.324 GB, free: 452 kB / 1.014 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.00057/0.3592, allocations: 442.1 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3593, allocations: 15.97 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.3593, allocations: 34.75 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.3594, allocations: 16.84 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.3596, allocations: 226 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3597, allocations: 4.375 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3597, allocations: 8.375 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3598, allocations: 92.5 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3598, allocations: 4 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3598, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3599, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.482e-05/0.3599, allocations: 27.98 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.3605, allocations: 0.5321 MB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.864e-05/0.3606, allocations: 30.52 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.3606, allocations: 16.91 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.3606, allocations: 0 / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.3608, allocations: 71.33 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.3608, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002283/0.361, allocations: 81.58 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.361, allocations: 55.34 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.3612, allocations: 176 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3612, allocations: 33.7 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.3613, allocations: 100.1 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3614, allocations: 11.94 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.3614, allocations: 33.7 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3616, allocations: 326.8 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3617, allocations: 35.98 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.3618, allocations: 54.56 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3619, allocations: 92.2 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3619, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003362/0.3623, allocations: 171.2 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.3623, allocations: 43.88 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3623, allocations: 0 / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3623, allocations: 4 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.405e-05/0.3624, allocations: 64 / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.3624, allocations: 11.94 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.3626, allocations: 23.97 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3626, allocations: 4 kB / 1.326 GB, free: 13.41 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 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.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.0001082/0.3627, allocations: 129.9 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.3627, allocations: 11.91 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.3628, allocations: 8.938 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3628, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3628, allocations: 3.938 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3628, allocations: 3.938 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.363, allocations: 193.6 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.363, allocations: 0 / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.363, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.363, allocations: 4.234 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.363, allocations: 7.922 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.363, allocations: 0 / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.363, allocations: 3.938 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3631, allocations: 97.06 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.3632, allocations: 85.02 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3632, allocations: 7.984 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.452e-05/0.3633, allocations: 4 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.3633, allocations: 11.88 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3633, allocations: 0 / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001125/0.3634, allocations: 128 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3634, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002251/0.3636, allocations: 27.88 kB / 1.327 GB, free: 12.6 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.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.0004923/0.3641, allocations: 0.6281 MB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3644, allocations: 127.3 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3644, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.3644, allocations: 12 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.3646, allocations: 19.92 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.3667, allocations: 1.693 MB / 1.329 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.367, allocations: 0.7002 MB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.3671, allocations: 4.438 kB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.3671, allocations: 31.42 kB / 1.33 GB, free: 9.211 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3671, allocations: 0 / 1.33 GB, free: 9.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.3933, allocations: 2.876 MB / 1.333 GB, free: 6.492 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.745, allocations: 12.12 kB / 1.333 GB, free: 6.484 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_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_PlaceholderReal.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.PlaceholderReal_res.csv. Warning: Get data of variable phNo.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phPar.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phPar.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phInp.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phInp.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.612457114038989]