Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001703/0.001703, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00207/0.00207, allocations: 217 kB / 22.25 MB, free: 5.082 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.992 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.277/3.277, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.PlaceholderReal,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_latest_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.001976/0.001976, allocations: 71.66 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.34, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.002305/0.3423, allocations: 0.9291 MB / 1.354 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3439, allocations: 1.214 MB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.344, allocations: 0 / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.3442, allocations: 27.73 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.3443, allocations: 27.73 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.3448, allocations: 148.1 kB / 1.355 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.345, allocations: 175.6 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3452, allocations: 29.8 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.3453, allocations: 63.78 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3454, allocations: 51.75 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.3454, allocations: 12 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.3455, allocations: 27.98 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.3455, allocations: 19.94 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.28e-05/0.3456, allocations: 59.77 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.3459, allocations: 171.3 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3459, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.073e-06/0.3459, allocations: 0 / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3459, allocations: 0 / 1.356 GB, free: 5.473 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006222/0.3465, allocations: 371.4 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3465, allocations: 11.97 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.3466, allocations: 38.75 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.3466, allocations: 12.89 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3469, allocations: 158.3 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3469, allocations: 4.375 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.347, allocations: 12.38 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3471, allocations: 84.69 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3471, allocations: 3.938 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3472, allocations: 11.98 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3472, allocations: 0 / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.3472, allocations: 23.94 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.3478, allocations: 0.504 MB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.3479, allocations: 30.52 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.3479, allocations: 20.91 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.3479, allocations: 0 / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.3481, allocations: 59.39 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3481, allocations: 0 / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002383/0.3483, allocations: 89.7 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3483, allocations: 51.41 kB / 1.357 GB, free: 3.824 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3485, allocations: 184.4 kB / 1.357 GB, free: 3.629 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3486, allocations: 29.64 kB / 1.357 GB, free: 3.594 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.3486, allocations: 108.1 kB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3487, allocations: 11.91 kB / 1.357 GB, free: 3.473 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.3487, allocations: 29.7 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3489, allocations: 322.8 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.349, allocations: 35.98 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.537e-05/0.3491, allocations: 58.56 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3492, allocations: 96.2 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3492, allocations: 0 / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002887/0.3495, allocations: 167.2 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.3495, allocations: 37.69 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3495, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3495, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-05/0.3496, allocations: 8.062 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3496, allocations: 3.938 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3498, allocations: 35.92 kB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.3498, allocations: 7.984 kB / 1.358 GB, free: 2.629 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 ($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.0001081/0.3499, allocations: 129.7 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.3499, allocations: 7.953 kB / 1.358 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.35, allocations: 12.97 kB / 1.358 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.35, allocations: 8 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.35, allocations: 3.938 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.35, allocations: 3.984 kB / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3501, allocations: 156.7 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3501, allocations: 0 / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.3502, allocations: 7.984 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3502, allocations: 0 / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3502, allocations: 0 / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3502, allocations: 0 / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3502, allocations: 3.938 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.3503, allocations: 93.08 kB / 1.359 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.3503, allocations: 15.89 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.3503, allocations: 8 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/0.3504, allocations: 4 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.3504, allocations: 3.938 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3504, allocations: 0 / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001067/0.3505, allocations: 131.9 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3505, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002224/0.3507, allocations: 27.92 kB / 1.359 GB, free: 1.949 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.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.0004564/0.3512, allocations: 0.632 MB / 1.359 GB, free: 1.285 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.3514, allocations: 123.3 kB / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3514, allocations: 0 / 1.36 GB, free: 1.152 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.194e-05/0.3514, allocations: 8 kB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3517, allocations: 33.17 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.3536, allocations: 1.681 MB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.3539, allocations: 0.708 MB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.161e-05/0.354, allocations: 4.438 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.354, allocations: 27.75 kB / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.354, allocations: 0 / 1.362 GB, free: 14.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.3835, allocations: 2.98 MB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.27, allocations: 7.875 kB / 1.365 GB, free: 11.72 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_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_PlaceholderReal.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phNo.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phPar.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phPar.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! Error: Could not read variable phInp.y in file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv. Warning: Get data of variable phInp.y from file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.113185700999566]