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.0009484/0.0009484, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001106/0.001106, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8931/0.8931, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.317e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.5 MB / 0.9636 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.001995/0.002018, allocations: 0.8803 MB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.00321, allocations: 1.198 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.003272, allocations: 7.938 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.003383, allocations: 27.72 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.003423, allocations: 23.86 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.003754, allocations: 150.6 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.003913, allocations: 171.6 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.00401, allocations: 33.52 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.8e-05/0.004088, allocations: 87.8 kB / 1.002 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.004164, allocations: 39.83 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.004186, allocations: 16 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.122e-05/0.004238, allocations: 27.98 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.004257, allocations: 15.92 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.503e-05/0.004302, allocations: 39.91 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.004473, allocations: 191.5 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004475, allocations: 0 / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004475, allocations: 3.938 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004479, allocations: 0 / 1.002 GB, free: 10.59 MB / 0.9636 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.0003792/0.004858, allocations: 361.8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.004892, allocations: 12.69 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.617e-05/0.004918, allocations: 42.73 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.004951, allocations: 16.84 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.005125, allocations: 157.6 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.005137, allocations: 4.375 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.005153, allocations: 12.38 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.693e-05/0.00525, allocations: 80.81 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005257, allocations: 4.125 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.005264, allocations: 384 / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.005269, allocations: 4.125 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.005315, allocations: 27.98 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.005666, allocations: 492 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.797e-05/0.005714, allocations: 26.52 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.005738, allocations: 20.91 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.005745, allocations: 0 / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.137e-05/0.005827, allocations: 63.39 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.005827, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001524/0.00598, allocations: 81.64 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.006008, allocations: 55.34 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006114, allocations: 171.3 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.006129, allocations: 25.7 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.006176, allocations: 112.1 kB / 1.004 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.006186, allocations: 3.953 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.006226, allocations: 41.64 kB / 1.004 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.006298, allocations: 322.8 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.006366, allocations: 69.69 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.006431, allocations: 88.25 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.006509, allocations: 100.3 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.006511, allocations: 0 / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001832/0.006694, allocations: 204.8 kB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.006721, allocations: 41.69 kB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006725, allocations: 4.062 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.006734, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.228e-05/0.006777, allocations: 4 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.006781, allocations: 0 / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.006894, allocations: 27.91 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.006907, allocations: 4 kB / 1.005 GB, free: 7.688 MB / 0.9636 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 6.51e-05/0.006972, allocations: 125.8 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.006982, allocations: 15.91 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.007011, allocations: 9.031 kB / 1.005 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007013, allocations: 4.234 kB / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.007016, allocations: 0 / 1.005 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.00702, allocations: 4 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.693e-05/0.007107, allocations: 168.6 kB / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007108, allocations: 0 / 1.005 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.007118, allocations: 3.938 kB / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.00712, allocations: 0 / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.007125, allocations: 4 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007126, allocations: 0 / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007127, allocations: 0 / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.27e-05/0.00721, allocations: 93 kB / 1.005 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.007223, allocations: 15.95 kB / 1.005 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.007234, allocations: 0 / 1.005 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.599e-05/0.00725, allocations: 8 kB / 1.005 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.00727, allocations: 3.984 kB / 1.005 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.007274, allocations: 0 / 1.005 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.007334, allocations: 128 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007334, allocations: 0 / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001403/0.007474, allocations: 23.95 kB / 1.006 GB, free: 7.016 MB / 0.9636 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.0002786/0.007753, allocations: 0.6419 MB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.007917, allocations: 161 kB / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007918, allocations: 0 / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.007938, allocations: 12 kB / 1.006 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.0081, allocations: 29.55 kB / 1.006 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.009557, allocations: 1.817 MB / 1.008 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.009607, allocations: 84.45 kB / 1.008 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.00963, allocations: 8.484 kB / 1.008 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.009667, allocations: 28.48 kB / 1.008 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.009668, allocations: 0 / 1.008 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.02396, allocations: 3.653 MB / 1.012 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.394/6.417, allocations: 6.172 kB / 1.012 GB, free: 0.582 MB / 0.9636 GB " [Timeout remaining time 294] (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/jenkins/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: 10.497415530495346]