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.001877/0.001877, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002329/0.002329, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.793 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.216/3.216, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002112/0.002112, allocations: 65.94 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3256, allocations: 176.1 MB / 1.325 GB, free: 2.359 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.002301/0.3279, allocations: 0.7362 MB / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3296, allocations: 1.167 MB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.3297, allocations: 7.938 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.3298, allocations: 19.8 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.14e-05/0.3299, allocations: 7.938 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.3304, allocations: 137.3 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.3307, allocations: 131.7 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3308, allocations: 32.2 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.651e-05/0.3309, allocations: 43.91 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.331, allocations: 43.81 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.331, allocations: 8 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.3311, allocations: 16 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.3311, allocations: 11.92 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.3312, allocations: 39.92 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.3314, allocations: 115.6 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3314, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3314, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3314, allocations: 4 kB / 1.328 GB, free: 15.84 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.000544/0.332, allocations: 335.7 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.332, allocations: 15.97 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.3321, allocations: 30.75 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.3321, allocations: 16.89 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.3324, allocations: 146.4 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3324, allocations: 384 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3324, allocations: 12.38 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3326, allocations: 72.75 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3326, allocations: 7.938 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3326, allocations: 4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3326, allocations: 0 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.3326, allocations: 15.94 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.3332, allocations: 452.2 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.3332, allocations: 26.5 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.3332, allocations: 12.92 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.387e-06/0.3333, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.3334, allocations: 59.39 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.3334, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002025/0.3336, allocations: 73.58 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3336, allocations: 51.41 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3338, allocations: 153.1 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3338, allocations: 33.7 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.3339, allocations: 96.09 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.3339, allocations: 7.938 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.334, allocations: 29.7 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3341, allocations: 318.8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.64e-05/0.3342, allocations: 65.61 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.3343, allocations: 76.27 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3344, allocations: 88.2 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3344, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002752/0.3347, allocations: 180.9 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.3347, allocations: 37.7 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3347, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3348, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.405e-05/0.3348, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3348, allocations: 7.938 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.335, allocations: 35.98 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.335, allocations: 4 kB / 1.33 GB, free: 13.16 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.0001022/0.3351, allocations: 122.9 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.3351, allocations: 3.953 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.3352, allocations: 16.33 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3352, allocations: 0 / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3352, allocations: 3.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.3352, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3353, allocations: 140.7 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3353, allocations: 4 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.704e-06/0.3353, allocations: 4 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3353, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3353, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3353, allocations: 4.062 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3353, allocations: 3.938 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.3354, allocations: 81.31 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.3355, allocations: 11.94 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3355, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.3355, allocations: 4.047 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.3355, allocations: 7.922 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3355, allocations: 7.938 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.772e-05/0.3356, allocations: 115.2 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3356, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002187/0.3358, allocations: 19.94 kB / 1.33 GB, free: 12.54 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.0004788/0.3363, allocations: 0.6241 MB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3366, allocations: 141 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3366, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.3366, allocations: 7.984 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3368, allocations: 22 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.3387, allocations: 1.637 MB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.809e-05/0.3387, allocations: 76.34 kB / 1.333 GB, free: 9.844 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.3387, allocations: 4 kB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.3388, allocations: 27.42 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3388, allocations: 0 / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.3686, allocations: 3.026 MB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.64, allocations: 16.34 kB / 1.336 GB, free: 6.938 MB / 1.029 GB " [Timeout remaining time 288] (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.375879399944097]