Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001311/0.001311, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.001455/0.001455, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.49/1.49, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.93/2.93, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_11_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.0034/0.0034, allocations: 67.89 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8161/0.8195, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.002633/0.8221, allocations: 0.9382 MB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.8239, allocations: 1.211 MB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.824, allocations: 0 / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.8241, allocations: 27.73 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.8242, allocations: 19.81 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.8248, allocations: 139.2 kB / 1.281 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000281/0.825, allocations: 175.6 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.8252, allocations: 37.19 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-05/0.8253, allocations: 51.84 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.8254, allocations: 63.69 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.8254, allocations: 12 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.8255, allocations: 27.98 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.8255, allocations: 19.86 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.8256, allocations: 55.8 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.8259, allocations: 173.3 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8259, allocations: 0 / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8259, allocations: 0 / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.8259, allocations: 3.938 kB / 1.281 GB, free: 10.47 MB / 0.9825 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.0006715/0.8266, allocations: 440.7 kB / 1.282 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8266, allocations: 8.031 kB / 1.282 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.8267, allocations: 34.75 kB / 1.282 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.8268, allocations: 16.84 kB / 1.282 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.8271, allocations: 226.8 kB / 1.282 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.8271, allocations: 4.375 kB / 1.282 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.8271, allocations: 16.38 kB / 1.282 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.8273, allocations: 88.69 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8273, allocations: 3.938 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.8273, allocations: 4 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.8273, allocations: 0 / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.8274, allocations: 23.98 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000647/0.828, allocations: 0.5399 MB / 1.282 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.087e-05/0.8281, allocations: 30.52 kB / 1.283 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.8281, allocations: 16.91 kB / 1.283 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.8281, allocations: 0 / 1.283 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.8283, allocations: 59.39 kB / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.8283, allocations: 4 kB / 1.283 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002286/0.8285, allocations: 81.58 kB / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.8285, allocations: 51.41 kB / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.8287, allocations: 180 kB / 1.283 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.8288, allocations: 29.64 kB / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.8289, allocations: 104.1 kB / 1.283 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.8289, allocations: 15.92 kB / 1.283 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.8289, allocations: 29.7 kB / 1.283 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8291, allocations: 326.8 kB / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-05/0.8292, allocations: 35.98 kB / 1.283 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.8293, allocations: 54.56 kB / 1.283 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.8294, allocations: 92.2 kB / 1.284 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8294, allocations: 0 / 1.284 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003314/0.8298, allocations: 175.2 kB / 1.284 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.8298, allocations: 37.69 kB / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.8298, allocations: 0 / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8298, allocations: 0 / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.451e-05/0.8299, allocations: 4 kB / 1.284 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.8299, allocations: 7.875 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.8301, allocations: 35.91 kB / 1.284 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.8301, allocations: 4 kB / 1.284 GB, free: 7.438 MB / 0.9825 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.0001157/0.8303, allocations: 128.6 kB / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.8303, allocations: 11.91 kB / 1.284 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.8303, allocations: 8.938 kB / 1.284 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.8303, allocations: 7.938 kB / 1.284 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.8303, allocations: 3.938 kB / 1.284 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8303, allocations: 0 / 1.284 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.8305, allocations: 189.7 kB / 1.284 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8305, allocations: 4.234 kB / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.8305, allocations: 4 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8305, allocations: 7.984 kB / 1.284 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.8305, allocations: 0 / 1.284 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8305, allocations: 0 / 1.284 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.8305, allocations: 7.922 kB / 1.284 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.8307, allocations: 89.08 kB / 1.284 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.8308, allocations: 85.06 kB / 1.284 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.8308, allocations: 3.984 kB / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.8308, allocations: 0 / 1.284 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.8308, allocations: 11.94 kB / 1.284 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.8308, allocations: 0 / 1.284 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001188/0.8309, allocations: 135.8 kB / 1.284 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8309, allocations: 0 / 1.284 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002319/0.8312, allocations: 19.95 kB / 1.284 GB, free: 6.633 MB / 0.9825 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.0005034/0.8317, allocations: 0.6359 MB / 1.285 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.8319, allocations: 127.3 kB / 1.285 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8319, allocations: 0 / 1.285 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.832, allocations: 12 kB / 1.285 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.8322, allocations: 27.8 kB / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.8344, allocations: 1.697 MB / 1.287 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.8347, allocations: 0.6963 MB / 1.288 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.8347, allocations: 8.438 kB / 1.288 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.8348, allocations: 31.42 kB / 1.288 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.8348, allocations: 0 / 1.288 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.8643, allocations: 2.871 MB / 1.29 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.524/9.388, allocations: 3.312 kB / 1.29 GB, free: 0.5195 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phNo.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phPar.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phPar.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phInp.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phInp.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.651167195057496]