Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.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.001526/0.001526, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001451/0.001451, allocations: 216.3 kB / 23.04 MB, free: 5.078 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.173/3.173, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 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.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="cs",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.002046/0.002046, allocations: 66.75 kB / 1.171 GB, free: 19.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 179 MB / 1.345 GB, free: 372 kB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Plants/Controls/Utilities/PlaceholderInteger.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.PlaceholderInteger): time 0.00245/0.3655, allocations: 0.8517 MB / 1.346 GB, free: 15.51 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3671, allocations: 1.209 MB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.3671, allocations: 7.938 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3673, allocations: 19.8 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.3673, allocations: 19.86 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.3678, allocations: 154.7 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.368, allocations: 175.6 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3681, allocations: 29.8 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.3682, allocations: 67.7 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3683, allocations: 47.83 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.3684, allocations: 12 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.3685, allocations: 31.98 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.3685, allocations: 7.938 kB / 1.348 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.3686, allocations: 67.7 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3688, allocations: 167.3 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3688, allocations: 0 / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3688, allocations: 0 / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3688, allocations: 4 kB / 1.348 GB, free: 13.49 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.0005651/0.3694, allocations: 372.7 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3694, allocations: 8.031 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.677e-05/0.3695, allocations: 4.188 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.245e-05/0.3695, allocations: 34.73 kB / 1.349 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.3696, allocations: 12.89 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3698, allocations: 170.3 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3698, allocations: 8.375 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.3699, allocations: 8.312 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.37, allocations: 88.56 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.37, allocations: 0 / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.37, allocations: 0 / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.37, allocations: 7.938 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.3701, allocations: 23.94 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.3707, allocations: 0.5078 MB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.446e-05/0.3707, allocations: 30.56 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.3708, allocations: 12.92 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.3708, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001169/0.3709, allocations: 71.39 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.061e-06/0.3709, allocations: 3.938 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000204/0.3711, allocations: 77.59 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.3712, allocations: 63.33 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3713, allocations: 164.5 kB / 1.35 GB, free: 11.65 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.3714, allocations: 33.7 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.3714, allocations: 112 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.3715, allocations: 7.953 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.3715, allocations: 33.7 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3717, allocations: 322.8 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.3718, allocations: 31.98 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.3719, allocations: 58.56 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.372, allocations: 92.22 kB / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.372, allocations: 0 / 1.35 GB, free: 10.92 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003092/0.3723, allocations: 171.2 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.3724, allocations: 37.7 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3724, allocations: 0 / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3724, allocations: 0 / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.706e-05/0.3724, allocations: 4 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3724, allocations: 7.875 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3726, allocations: 39.91 kB / 1.351 GB, free: 10.65 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.3727, allocations: 12 kB / 1.351 GB, free: 10.64 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: 5 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.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.0001021/0.3728, allocations: 117.8 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.3728, allocations: 11.95 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.3728, allocations: 13.02 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3728, allocations: 4 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3728, allocations: 3.938 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3728, allocations: 0 / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.373, allocations: 164.7 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.373, allocations: 4 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.373, allocations: 4 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.373, allocations: 0 / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.373, allocations: 4 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.373, allocations: 4 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.373, allocations: 4.172 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3732, allocations: 105 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.3732, allocations: 11.91 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.3732, allocations: 4 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.3732, allocations: 0 / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.3733, allocations: 11.92 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3733, allocations: 0 / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001141/0.3734, allocations: 128 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3734, allocations: 3.938 kB / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002147/0.3736, allocations: 16 kB / 1.351 GB, free: 9.961 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: 4 ($whenCondition1,$whenCondition2,pul.y,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.0004647/0.3741, allocations: 0.6319 MB / 1.352 GB, free: 9.297 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.3743, allocations: 127.3 kB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3743, allocations: 0 / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.3743, allocations: 11.98 kB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.3746, allocations: 30.03 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3767, allocations: 1.646 MB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/0.3772, allocations: 0.6924 MB / 1.354 GB, free: 6.652 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.3773, allocations: 12.42 kB / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.3774, allocations: 31.42 kB / 1.354 GB, free: 6.609 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3774, allocations: 0 / 1.354 GB, free: 6.609 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.41, allocations: 2.953 MB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.74, allocations: 11.31 kB / 1.357 GB, free: 3.812 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.38084690598771] Failed to read output from testmodel.py, exit status != 0: 11.904686952999327 11.923079067 11.550728875999999 Calling exit ...