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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 107.2 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.001125/0.001125, allocations: 189.9 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.289/1.289, allocations: 225.6 MB / 249.3 MB, free: 3.164 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.483/2.483, allocations: 476.7 MB / 0.7628 GB, free: 15.24 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.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: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7925, allocations: 168.7 MB / 1.271 GB, free: 7.254 MB / 0.9981 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 NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical): time 0.001756/0.7943, allocations: 0.7578 MB / 1.272 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.7954, allocations: 1.153 MB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.7954, allocations: 6.469 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.7955, allocations: 19.97 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.839e-05/0.7956, allocations: 16.03 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.796, allocations: 144.7 kB / 1.273 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.7961, allocations: 129 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.7962, allocations: 25.55 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.7963, allocations: 41.11 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.7964, allocations: 42.28 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.7964, allocations: 9.219 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.7964, allocations: 20.22 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.7965, allocations: 15.48 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.7965, allocations: 45.41 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.7967, allocations: 112.8 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7967, allocations: 0 / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7967, allocations: 0 / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.7967, allocations: 1 kB / 1.274 GB, free: 5.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003423/0.797, allocations: 414.5 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.797, allocations: 10.12 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.573e-05/0.7971, allocations: 42.66 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.7971, allocations: 11.52 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.7973, allocations: 201.4 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.7973, allocations: 13.05 kB / 1.274 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.7973, allocations: 5.875 kB / 1.274 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.7974, allocations: 74.61 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.7974, allocations: 3.938 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.7974, allocations: 1.125 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.7974, allocations: 0.9375 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.328e-05/0.7975, allocations: 18 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.7978, allocations: 497.4 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.7978, allocations: 25.69 kB / 1.275 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.7978, allocations: 7.984 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.7978, allocations: 0 / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.941e-05/0.7979, allocations: 65.14 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.7979, allocations: 0 / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.7981, allocations: 72.88 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.7981, allocations: 52.03 kB / 1.275 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.7982, allocations: 148.6 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.7982, allocations: 27.73 kB / 1.275 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.7982, allocations: 95.45 kB / 1.276 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.7982, allocations: 15.8 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.7983, allocations: 29.11 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.7983, allocations: 315.2 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.684e-05/0.7984, allocations: 32.47 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.128e-05/0.7985, allocations: 43.86 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.361e-05/0.7985, allocations: 86.77 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7985, allocations: 1.734 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002075/0.7988, allocations: 149.7 kB / 1.276 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.7988, allocations: 35.86 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7988, allocations: 0.9062 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7988, allocations: 1.609 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-05/0.7988, allocations: 0.7188 kB / 1.276 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.7988, allocations: 5.375 kB / 1.276 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.799, allocations: 36.89 kB / 1.276 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.799, allocations: 10 kB / 1.276 GB, free: 3.684 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 (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 5.43e-05/0.7991, allocations: 113.6 kB / 1.276 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.7991, allocations: 16.16 kB / 1.276 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.7991, allocations: 7.672 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7991, allocations: 0.8125 kB / 1.276 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.7991, allocations: 8.484 kB / 1.276 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7991, allocations: 0.5625 kB / 1.276 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.541e-05/0.7992, allocations: 183.3 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.7992, allocations: 0 / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-06/0.7992, allocations: 6.312 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.7992, allocations: 0.9375 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.7992, allocations: 4.844 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7992, allocations: 0 / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7992, allocations: 5.094 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.861e-05/0.7993, allocations: 86.52 kB / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.058e-05/0.7993, allocations: 87 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.7993, allocations: 1.75 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.719e-05/0.7993, allocations: 1.469 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.7994, allocations: 6.812 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.7994, allocations: 1.812 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.7994, allocations: 113.7 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7994, allocations: 0 / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002079/0.7996, allocations: 20.44 kB / 1.277 GB, free: 3.047 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.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.0002323/0.7999, allocations: 0.6245 MB / 1.278 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.8, allocations: 114.5 kB / 1.278 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8, allocations: 0 / 1.278 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.323e-05/0.8001, allocations: 11.17 kB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.8002, allocations: 10.69 kB / 1.278 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.8016, allocations: 1.517 MB / 1.279 GB, free: 17.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.8019, allocations: 0.6898 MB / 1.28 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.8019, allocations: 5.969 kB / 1.28 GB, free: 16.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.8019, allocations: 24.31 kB / 1.28 GB, free: 16.32 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/0.8019, allocations: 4 kB / 1.28 GB, free: 16.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.8257, allocations: 2.386 MB / 1.282 GB, free: 15.87 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.942, allocations: 11.42 kB / 1.282 GB, free: 15.87 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_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_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.csv","/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] "Error: Could not read variable phNo.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phNo.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! Error: Could not read variable phPar.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phPar.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! Error: Could not read variable phInp.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phInp.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.258421850005107]