Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001119/0.001119, allocations: 84.45 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0009261/0.0009261, allocations: 169.2 kB / 23.24 MB, free: 1.32 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.9019/0.9019, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.827/1.827, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.PlaceholderInteger,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.405e-05, allocations: 9.938 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.002049/0.002073, allocations: 0.8204 MB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.003562, allocations: 1.206 MB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.00364, allocations: 8 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.00376, allocations: 15.8 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.003804, allocations: 31.72 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.004204, allocations: 147.2 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004381, allocations: 171.6 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004485, allocations: 25.56 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.004574, allocations: 87.77 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.004657, allocations: 43.86 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.004681, allocations: 16 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.004734, allocations: 24 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.004758, allocations: 19.92 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.004809, allocations: 39.91 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.005003, allocations: 187.4 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005007, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005007, allocations: 0 / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.005012, allocations: 0 / 1.003 GB, free: 10.67 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.0004322/0.005444, allocations: 367.5 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.005483, allocations: 9.344 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/0.005512, allocations: 34.75 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.005554, allocations: 20.84 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.005755, allocations: 164.6 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.005772, allocations: 8.375 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.005789, allocations: 12.36 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.005906, allocations: 80.83 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.005914, allocations: 4.172 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.005923, allocations: 384 / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005928, allocations: 4.125 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.005973, allocations: 27.94 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.006393, allocations: 496 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.006451, allocations: 22.58 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.006473, allocations: 12.92 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.006479, allocations: 0 / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.00658, allocations: 71.31 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.006581, allocations: 0 / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.000184/0.006765, allocations: 81.62 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.006797, allocations: 51.41 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.006925, allocations: 179.2 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.006941, allocations: 25.7 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.006993, allocations: 108.1 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.007004, allocations: 11.95 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.007052, allocations: 29.7 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.007136, allocations: 326.8 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.007215, allocations: 69.67 kB / 1.006 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.007286, allocations: 92.33 kB / 1.006 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.51e-05/0.007371, allocations: 88.27 kB / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007373, allocations: 0 / 1.006 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002056/0.007578, allocations: 212.9 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.00761, allocations: 37.7 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.007614, allocations: 48 / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.007628, allocations: 3.984 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.289e-05/0.007681, allocations: 7.938 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.007686, allocations: 0 / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.007814, allocations: 31.89 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.007827, allocations: 8 kB / 1.006 GB, free: 7.754 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: 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 7.258e-05/0.0079, allocations: 121.8 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.007912, allocations: 15.91 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.007938, allocations: 13.02 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007942, allocations: 4 kB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.007946, allocations: 64 / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.00795, allocations: 4 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.326e-05/0.008043, allocations: 152.7 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008044, allocations: 0 / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.008058, allocations: 11.98 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.00806, allocations: 0 / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.008066, allocations: 0 / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.008066, allocations: 4 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008067, allocations: 3.938 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.369e-05/0.008161, allocations: 96.95 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.008178, allocations: 11.94 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.00819, allocations: 4 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.008207, allocations: 0 / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.008231, allocations: 0 / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.008237, allocations: 4 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.008304, allocations: 127.9 kB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008304, allocations: 0 / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001497/0.008454, allocations: 23.95 kB / 1.007 GB, free: 7.09 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: 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.000306/0.00876, allocations: 0.6475 MB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.00894, allocations: 149.1 kB / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.008941, allocations: 0 / 1.007 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.008965, allocations: 19.92 kB / 1.007 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.00915, allocations: 19.92 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.01051, allocations: 1.777 MB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.724e-05/0.01056, allocations: 84.31 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.01058, allocations: 8.484 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.01063, allocations: 32.5 kB / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of SimCode: time 7.02e-07/0.01063, allocations: 0 / 1.009 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.1129, allocations: 3.618 MB / 1.013 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.546, allocations: 5.078 kB / 1.013 GB, free: 0.7422 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderInteger.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderInteger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.95402517542243]