Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.352 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.515/2.515, allocations: 476.7 MB / 0.7628 GB, free: 15.34 MB / 0.6075 GB " [Timeout remaining time 177] 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.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 59.91 kB / 1.107 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8028, allocations: 168.7 MB / 1.271 GB, free: 7.734 MB / 0.9981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.001808/0.8046, allocations: 0.9511 MB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.8057, allocations: 1.17 MB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.8057, allocations: 2.938 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.8059, allocations: 26.86 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.8059, allocations: 21.02 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.8063, allocations: 150.4 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.8065, allocations: 172.2 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.8066, allocations: 34.67 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.8067, allocations: 61.62 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.068e-05/0.8067, allocations: 54.95 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.8068, allocations: 14.5 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.427e-05/0.8068, allocations: 28.95 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.8069, allocations: 14.69 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.8069, allocations: 58.61 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.8071, allocations: 176.7 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8071, allocations: 0 / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.62e-07/0.8071, allocations: 0 / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.8071, allocations: 1.188 kB / 1.274 GB, free: 5.887 MB / 0.9981 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.0003776/0.8075, allocations: 435.4 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.8075, allocations: 9.25 kB / 1.275 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.352e-05/0.8075, allocations: 37.91 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.8076, allocations: 12.92 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.8077, allocations: 230.3 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.8078, allocations: 3.812 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.8078, allocations: 11.19 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.8079, allocations: 85.75 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.8079, allocations: 3.938 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.8079, allocations: 1.062 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8079, allocations: 8.984 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.694e-05/0.808, allocations: 26.75 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.8083, allocations: 0.5333 MB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.8084, allocations: 27.22 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.8084, allocations: 16.23 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.8084, allocations: 1.391 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.373e-05/0.8085, allocations: 64.39 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.8085, allocations: 0 / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001689/0.8087, allocations: 85.73 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.8087, allocations: 53.97 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.8088, allocations: 169.4 kB / 1.276 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.8088, allocations: 36.08 kB / 1.276 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.8089, allocations: 107.1 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.8089, allocations: 13.38 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.8089, allocations: 31.03 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.809, allocations: 323.6 kB / 1.276 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.809, allocations: 40.2 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.8091, allocations: 55.2 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.465e-05/0.8092, allocations: 96.48 kB / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.8092, allocations: 0 / 1.277 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002504/0.8095, allocations: 165.3 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.8095, allocations: 41.41 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.8095, allocations: 0.9062 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.8095, allocations: 0.7812 kB / 1.277 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.955e-05/0.8096, allocations: 6.75 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.8096, allocations: 5.781 kB / 1.277 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.8097, allocations: 32.34 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.8098, allocations: 13.16 kB / 1.277 GB, free: 3.453 MB / 0.9981 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 5.789e-05/0.8098, allocations: 123.2 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.8098, allocations: 8.734 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.8099, allocations: 13.81 kB / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.8099, allocations: 4 kB / 1.277 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.8099, allocations: 4.781 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8099, allocations: 0.8438 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.445e-05/0.8099, allocations: 185.9 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8099, allocations: 0 / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.81, allocations: 2 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.81, allocations: 0.7812 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.81, allocations: 2.812 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.81, allocations: 1 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.81, allocations: 3.938 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.35e-05/0.8101, allocations: 103 kB / 1.277 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.8101, allocations: 88.86 kB / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.8101, allocations: 1.438 kB / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.8101, allocations: 0.625 kB / 1.277 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.8101, allocations: 7.922 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.8101, allocations: 2.188 kB / 1.277 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.322e-05/0.8102, allocations: 130.8 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8102, allocations: 0 / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002033/0.8104, allocations: 24.2 kB / 1.278 GB, free: 2.809 MB / 0.9981 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.0002442/0.8107, allocations: 0.6372 MB / 1.278 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.8109, allocations: 127.8 kB / 1.278 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8109, allocations: 0 / 1.278 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.18e-05/0.8109, allocations: 13.53 kB / 1.278 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.8111, allocations: 33 kB / 1.278 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.8126, allocations: 1.691 MB / 1.28 GB, free: 16.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.8129, allocations: 0.7045 MB / 1.281 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.679e-05/0.8129, allocations: 6.625 kB / 1.281 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.8129, allocations: 33.09 kB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/0.8129, allocations: 3.938 kB / 1.281 GB, free: 15.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.8375, allocations: 2.832 MB / 1.284 GB, free: 15.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.822, allocations: 4.953 kB / 1.284 GB, free: 15.5 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phNo.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phPar.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phPar.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phInp.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phInp.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.20886786000483]