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.0007658/0.0007658, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 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.0007603/0.0007603, allocations: 208.7 kB / 23.02 MB, free: 2.969 MB / 13.93 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.9643/0.9643, allocations: 230.6 MB / 256.8 MB, free: 9.566 MB / 202.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.946/1.946, allocations: 0.5045 GB / 0.8104 GB, free: 2.711 MB / 0.6511 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 0.001015/0.001015, allocations: 69 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3119, allocations: 180 MB / 1.352 GB, free: 9.16 MB / 1.042 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.002429/0.3143, allocations: 0.8413 MB / 1.353 GB, free: 8.32 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3163, allocations: 1.182 MB / 1.354 GB, free: 7.125 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.3164, allocations: 4 kB / 1.354 GB, free: 7.121 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3166, allocations: 31.72 kB / 1.354 GB, free: 7.09 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-05/0.3166, allocations: 11.86 kB / 1.354 GB, free: 7.078 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.3172, allocations: 150.9 kB / 1.355 GB, free: 6.934 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.3174, allocations: 167.6 kB / 1.355 GB, free: 6.77 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3176, allocations: 37.56 kB / 1.355 GB, free: 6.73 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.3176, allocations: 51.84 kB / 1.355 GB, free: 6.68 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3178, allocations: 55.69 kB / 1.355 GB, free: 6.625 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.3178, allocations: 16 kB / 1.355 GB, free: 6.609 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.3179, allocations: 23.98 kB / 1.355 GB, free: 6.586 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.3179, allocations: 15.94 kB / 1.355 GB, free: 6.57 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.318, allocations: 51.78 kB / 1.355 GB, free: 6.52 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.3183, allocations: 167.7 kB / 1.355 GB, free: 6.355 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3183, allocations: 4 kB / 1.355 GB, free: 6.352 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3183, allocations: 0 / 1.355 GB, free: 6.352 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3183, allocations: 7.922 kB / 1.355 GB, free: 6.344 MB / 1.042 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.0005818/0.3189, allocations: 363.5 kB / 1.356 GB, free: 5.949 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3189, allocations: 8.922 kB / 1.356 GB, free: 5.941 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.3189, allocations: 30.75 kB / 1.356 GB, free: 5.902 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.319, allocations: 16.88 kB / 1.356 GB, free: 5.887 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3193, allocations: 162.4 kB / 1.356 GB, free: 5.703 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3193, allocations: 4.375 kB / 1.356 GB, free: 5.699 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3193, allocations: 12.38 kB / 1.356 GB, free: 5.688 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3194, allocations: 88.75 kB / 1.356 GB, free: 5.586 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3195, allocations: 3.938 kB / 1.356 GB, free: 5.582 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3195, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3195, allocations: 0 / 1.356 GB, free: 5.582 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.562e-05/0.3195, allocations: 27.98 kB / 1.356 GB, free: 5.555 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.3201, allocations: 484.1 kB / 1.356 GB, free: 5.031 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.279e-05/0.3202, allocations: 30.52 kB / 1.356 GB, free: 4.992 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.3202, allocations: 12.92 kB / 1.356 GB, free: 4.977 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3202, allocations: 4 kB / 1.356 GB, free: 4.973 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.3204, allocations: 71.27 kB / 1.356 GB, free: 4.891 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.3204, allocations: 0 / 1.356 GB, free: 4.891 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0002207/0.3206, allocations: 89.7 kB / 1.357 GB, free: 4.797 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.3206, allocations: 55.41 kB / 1.357 GB, free: 4.73 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.3208, allocations: 169.1 kB / 1.357 GB, free: 4.555 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3208, allocations: 29.7 kB / 1.357 GB, free: 4.52 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.3209, allocations: 108.1 kB / 1.357 GB, free: 4.41 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.3209, allocations: 7.938 kB / 1.357 GB, free: 4.402 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.016e-05/0.321, allocations: 41.69 kB / 1.357 GB, free: 4.355 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3211, allocations: 318.8 kB / 1.357 GB, free: 4.035 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3212, allocations: 69.67 kB / 1.357 GB, free: 3.961 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3213, allocations: 96.23 kB / 1.357 GB, free: 3.852 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.3215, allocations: 92.2 kB / 1.357 GB, free: 3.746 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3215, allocations: 0 / 1.357 GB, free: 3.746 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003109/0.3218, allocations: 200.9 kB / 1.358 GB, free: 3.531 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.3218, allocations: 37.7 kB / 1.358 GB, free: 3.488 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3218, allocations: 0 / 1.358 GB, free: 3.488 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3218, allocations: 64 / 1.358 GB, free: 3.488 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.093e-05/0.3219, allocations: 11.98 kB / 1.358 GB, free: 3.477 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3219, allocations: 3.938 kB / 1.358 GB, free: 3.473 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.3221, allocations: 31.86 kB / 1.358 GB, free: 3.441 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3221, allocations: 8.062 kB / 1.358 GB, free: 3.434 MB / 1.042 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.0001006/0.3222, allocations: 117.8 kB / 1.358 GB, free: 3.309 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.3222, allocations: 11.95 kB / 1.358 GB, free: 3.297 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.3223, allocations: 17.02 kB / 1.358 GB, free: 3.277 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3223, allocations: 3.938 kB / 1.358 GB, free: 3.273 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3223, allocations: 11.94 kB / 1.358 GB, free: 3.262 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3223, allocations: 0 / 1.358 GB, free: 3.262 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.3224, allocations: 152.7 kB / 1.358 GB, free: 3.07 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3224, allocations: 0 / 1.358 GB, free: 3.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.3225, allocations: 3.938 kB / 1.358 GB, free: 3.066 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3225, allocations: 4 kB / 1.358 GB, free: 3.062 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3225, allocations: 0 / 1.358 GB, free: 3.062 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3225, allocations: 0 / 1.358 GB, free: 3.062 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3225, allocations: 3.938 kB / 1.358 GB, free: 3.059 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.3226, allocations: 97.02 kB / 1.358 GB, free: 2.945 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.3226, allocations: 7.953 kB / 1.358 GB, free: 2.938 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3227, allocations: 4 kB / 1.358 GB, free: 2.934 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.115e-05/0.3227, allocations: 11.94 kB / 1.358 GB, free: 2.922 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.3227, allocations: 3.938 kB / 1.358 GB, free: 2.918 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.3227, allocations: 3.984 kB / 1.358 GB, free: 2.914 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3228, allocations: 132.8 kB / 1.358 GB, free: 2.785 MB / 1.042 GB Notification: Performance of sort global known variables: time 1e-07/0.3228, allocations: 0 / 1.358 GB, free: 2.785 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001718/0.323, allocations: 24 kB / 1.358 GB, free: 2.762 MB / 1.042 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.0003425/0.3233, allocations: 0.6319 MB / 1.359 GB, free: 2.098 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.3235, allocations: 157 kB / 1.359 GB, free: 1.926 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3235, allocations: 4 kB / 1.359 GB, free: 1.922 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-05/0.3236, allocations: 15.98 kB / 1.359 GB, free: 1.906 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.3238, allocations: 27.8 kB / 1.359 GB, free: 1.879 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3254, allocations: 1.781 MB / 1.361 GB, free: 15.97 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.369e-05/0.3255, allocations: 84.31 kB / 1.361 GB, free: 15.87 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.3255, allocations: 12.42 kB / 1.361 GB, free: 15.86 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.3256, allocations: 27.77 kB / 1.361 GB, free: 15.83 MB / 1.057 GB Notification: Performance of SimCode: time 9.02e-07/0.3256, allocations: 0 / 1.361 GB, free: 15.83 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/0.4398, allocations: 3.479 MB / 1.364 GB, free: 12.54 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.024, allocations: 6.75 kB / 1.364 GB, free: 12.53 MB / 1.057 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: 13.203297508880496]