Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001399/0.001399, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001498/0.001498, allocations: 213.3 kB / 22.24 MB, free: 5.105 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.812 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.178/3.178, allocations: 0.49 GB / 0.7951 GB, free: 35.49 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.PlaceholderLogical,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical,fileNamePrefix="Buildings_12_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.002044/0.002044, allocations: 67.02 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3426, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002272/0.3448, allocations: 0.742 MB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3465, allocations: 1.167 MB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.3466, allocations: 4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.3468, allocations: 27.78 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.3468, allocations: 11.88 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.3473, allocations: 128.6 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.3475, allocations: 131.7 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3476, allocations: 28.2 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.883e-05/0.3477, allocations: 47.84 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.3478, allocations: 39.83 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/0.3478, allocations: 12 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.3479, allocations: 23.98 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.3479, allocations: 11.94 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.348, allocations: 39.84 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.3482, allocations: 107.6 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3482, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3482, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3482, allocations: 0 / 1.328 GB, free: 14.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000481/0.3487, allocations: 335.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3487, allocations: 12.03 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.3488, allocations: 38.73 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.3488, allocations: 12.89 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.349, allocations: 149 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3491, allocations: 4.375 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3491, allocations: 12.36 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3492, allocations: 64.83 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3492, allocations: 3.938 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3492, allocations: 8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3492, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.126e-05/0.3493, allocations: 19.92 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.3498, allocations: 456 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.843e-05/0.3498, allocations: 22.58 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.3498, allocations: 8.844 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.3498, allocations: 4.062 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.3499, allocations: 59.34 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3499, allocations: 0 / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002024/0.3502, allocations: 69.62 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.3502, allocations: 55.41 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3503, allocations: 147.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3504, allocations: 25.7 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.3505, allocations: 108.1 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.3505, allocations: 7.953 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.3505, allocations: 29.7 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3507, allocations: 322.8 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.3508, allocations: 65.56 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.3509, allocations: 80.25 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.351, allocations: 76.27 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.351, allocations: 0 / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002762/0.3513, allocations: 181 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.3513, allocations: 39.5 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3513, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3513, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.345e-05/0.3514, allocations: 8 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3514, allocations: 3.938 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.3516, allocations: 31.97 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3516, allocations: 4 kB / 1.331 GB, free: 12.29 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 (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 0.0001146/0.3517, allocations: 117.8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.3517, allocations: 12.19 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.3518, allocations: 12.33 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3518, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3518, allocations: 3.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3518, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3519, allocations: 140.7 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3519, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-06/0.3519, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3519, allocations: 7.938 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3519, allocations: 4 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.352, allocations: 3.984 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.352, allocations: 7.938 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.3521, allocations: 85.02 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.3521, allocations: 7.953 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3521, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.608e-05/0.3521, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.3522, allocations: 11.92 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3522, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.547e-05/0.3522, allocations: 113.3 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3522, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002219/0.3525, allocations: 23.92 kB / 1.331 GB, free: 11.67 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.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.0004404/0.3529, allocations: 0.6241 MB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.3531, allocations: 145 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3531, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.385e-05/0.3532, allocations: 11.92 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.3534, allocations: 19.92 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.3551, allocations: 1.622 MB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.3551, allocations: 79.52 kB / 1.334 GB, free: 8.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.446e-05/0.3552, allocations: 7.984 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.3552, allocations: 15.44 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.3552, allocations: 0 / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.3849, allocations: 3.06 MB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.38, allocations: 14.55 kB / 1.337 GB, free: 6.047 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderLogical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phNo.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! Error: Could not read variable phPar.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phPar.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! Error: Could not read variable phInp.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv. Warning: Get data of variable phInp.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderLogical_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.197749251994537]