Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001702/0.001702, 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.001479/0.001479, allocations: 216.4 kB / 22.25 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.235/3.235, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_latest_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.00232/0.00232, allocations: 75.42 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3542, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.002128/0.3564, allocations: 0.7466 MB / 1.354 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3581, allocations: 1.178 MB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.518e-05/0.3581, allocations: 0 / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.3583, allocations: 23.8 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.3583, allocations: 11.86 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.3589, allocations: 142.5 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3591, allocations: 131.7 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3592, allocations: 20.16 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.071e-05/0.3593, allocations: 43.91 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3594, allocations: 51.75 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3594, allocations: 8 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.061e-05/0.3595, allocations: 23.98 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.251e-05/0.3595, allocations: 8 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.3596, allocations: 43.78 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3598, allocations: 111.6 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3598, allocations: 0 / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3598, allocations: 0 / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3598, allocations: 0 / 1.355 GB, free: 5.902 MB / 1.045 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.0005099/0.3603, allocations: 339.7 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3603, allocations: 8.031 kB / 1.356 GB, free: 5.523 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.3604, allocations: 42.67 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.3604, allocations: 12.89 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3607, allocations: 144.5 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3607, allocations: 8.312 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.3607, allocations: 8.375 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.3608, allocations: 68.81 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3608, allocations: 11.81 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3609, allocations: 0 / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3609, allocations: 4 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.3609, allocations: 15.98 kB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.3614, allocations: 476.1 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.043e-05/0.3614, allocations: 26.62 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.3615, allocations: 4.859 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.3615, allocations: 0 / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/0.3616, allocations: 67.33 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3616, allocations: 0 / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001794/0.3618, allocations: 65.64 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.3618, allocations: 51.41 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3619, allocations: 155.4 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.362, allocations: 29.7 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.362, allocations: 92.14 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.359e-05/0.362, allocations: 11.95 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.3621, allocations: 33.64 kB / 1.357 GB, free: 4.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3622, allocations: 318.8 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.3623, allocations: 27.98 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-05/0.3624, allocations: 55.11 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.3625, allocations: 84.5 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3625, allocations: 0 / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000266/0.3628, allocations: 151.2 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.3628, allocations: 37.64 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3628, allocations: 0 / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3628, allocations: 4 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-05/0.3629, allocations: 0 / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3629, allocations: 3.938 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.3631, allocations: 32.05 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.3631, allocations: 12 kB / 1.358 GB, free: 3.297 MB / 1.045 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 9.849e-05/0.3632, allocations: 118.4 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.3632, allocations: 11.95 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.3632, allocations: 16.27 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3632, allocations: 0 / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3632, allocations: 3.938 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3633, allocations: 0 / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.3634, allocations: 140.7 kB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3634, allocations: 4 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-06/0.3634, allocations: 4 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.3634, allocations: 0 / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3634, allocations: 3.984 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3634, allocations: 4 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3634, allocations: 7.875 kB / 1.358 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.3635, allocations: 88.97 kB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.3635, allocations: 3.953 kB / 1.358 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3636, allocations: 4 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.3636, allocations: 4 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.3636, allocations: 7.922 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3636, allocations: 0 / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.335e-05/0.3637, allocations: 118.6 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3637, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002157/0.3639, allocations: 19.94 kB / 1.358 GB, free: 2.676 MB / 1.045 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.0004411/0.3643, allocations: 0.6202 MB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.3646, allocations: 111.3 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3646, allocations: 0 / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.044e-05/0.3646, allocations: 11.94 kB / 1.359 GB, free: 1.895 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.3648, allocations: 16.05 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3665, allocations: 1.51 MB / 1.36 GB, free: 272 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.3668, allocations: 0.6885 MB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.3668, allocations: 4 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.3669, allocations: 27.66 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.3669, allocations: 4 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.396, allocations: 2.516 MB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.2, allocations: 5.172 kB / 1.364 GB, free: 13.14 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phNo.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! Error: Could not read variable phPar.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phPar.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! Error: Could not read variable phInp.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phInp.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.05023467799947]