Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.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.001376/0.001376, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001595/0.001595, allocations: 221.5 kB / 22.25 MB, free: 5.258 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.816 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.194/3.194, allocations: 0.49 GB / 0.7951 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.PlaceholderReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",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.002086/0.002086, allocations: 70.67 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3228, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002274/0.3251, allocations: 0.8796 MB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3267, allocations: 1.194 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.3268, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.3269, allocations: 27.73 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.843e-05/0.327, allocations: 23.86 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.3274, allocations: 137.6 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.3276, allocations: 179.6 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3278, allocations: 37.8 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.3279, allocations: 55.8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.328, allocations: 59.73 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.328, allocations: 12 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.097e-05/0.3281, allocations: 24 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.3281, allocations: 19.92 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.3282, allocations: 51.8 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3284, allocations: 175.3 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3284, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3284, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3284, allocations: 0 / 1.329 GB, free: 14.69 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005375/0.3289, allocations: 359.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.329, allocations: 12.02 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.329, allocations: 38.75 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.126e-05/0.3291, allocations: 16.84 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3293, allocations: 163.3 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3294, allocations: 8.375 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3294, allocations: 8.375 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3295, allocations: 88.69 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3295, allocations: 3.938 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3296, allocations: 7.938 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3296, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.437e-05/0.3296, allocations: 27.92 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.3302, allocations: 484.1 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.93e-05/0.3303, allocations: 26.58 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.3303, allocations: 16.91 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.3303, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.3304, allocations: 63.39 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.3304, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002193/0.3307, allocations: 81.58 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.3307, allocations: 55.41 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.3309, allocations: 176.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.3309, allocations: 25.7 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.331, allocations: 116 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.331, allocations: 15.94 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.3311, allocations: 29.7 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3312, allocations: 318.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3313, allocations: 69.69 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3315, allocations: 88.25 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.3316, allocations: 96.2 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3316, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003022/0.3319, allocations: 200.9 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.3319, allocations: 41.75 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3319, allocations: 4 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.332, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.332, allocations: 4 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.332, allocations: 3.938 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.3322, allocations: 23.97 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.3322, allocations: 4 kB / 1.331 GB, free: 11.78 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 ($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 0.0001262/0.3324, allocations: 129.7 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.3324, allocations: 15.91 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.3324, allocations: 13.03 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3324, allocations: 0 / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3324, allocations: 7.938 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3324, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3326, allocations: 156.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3326, allocations: 3.938 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.3326, allocations: 240 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3326, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3326, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3326, allocations: 4.062 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3326, allocations: 3.938 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.3328, allocations: 105 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.3328, allocations: 11.91 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3328, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.3328, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.3328, allocations: 7.922 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.3328, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001091/0.333, allocations: 128 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.333, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002289/0.3332, allocations: 23.94 kB / 1.332 GB, free: 11.09 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.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.000472/0.3337, allocations: 0.6374 MB / 1.332 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.3339, allocations: 157 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3339, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.3339, allocations: 16 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3342, allocations: 19.92 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3362, allocations: 1.817 MB / 1.334 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.3363, allocations: 88.31 kB / 1.334 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.3363, allocations: 8.422 kB / 1.334 GB, free: 8.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.3363, allocations: 35.42 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3363, allocations: 0 / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3668, allocations: 3.533 MB / 1.338 GB, free: 4.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.49, allocations: 6.984 kB / 1.338 GB, free: 4.762 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phNo.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phPar.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phPar.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phInp.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phInp.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.222297266998794]