Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001129/0.001129, allocations: 108.3 kB / 19.72 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.000888/0.000888, allocations: 220.3 kB / 23.02 MB, free: 2.957 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 1.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.975/1.975, allocations: 0.5045 GB / 0.8104 GB, free: 2.742 MB / 0.6511 GB " [Timeout remaining time 177] 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.PlaceholderReal,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal,fileNamePrefix="Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00092/0.00092, allocations: 67.89 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7517, allocations: 180 MB / 1.352 GB, free: 1.645 MB / 1.026 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.001954/0.7537, allocations: 0.8912 MB / 1.353 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.7551, allocations: 1.19 MB / 1.354 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.649e-05/0.7551, allocations: 7.938 kB / 1.354 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.7553, allocations: 31.78 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.7553, allocations: 19.8 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.7557, allocations: 136.4 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.7559, allocations: 167.6 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.756, allocations: 33.58 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.7561, allocations: 55.83 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.348e-05/0.7562, allocations: 47.77 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.7562, allocations: 16 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-05/0.7563, allocations: 23.98 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.7563, allocations: 27.91 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.7564, allocations: 51.73 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.7566, allocations: 173.6 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7566, allocations: 0 / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7566, allocations: 0 / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7566, allocations: 0 / 1.355 GB, free: 14.78 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.000463/0.757, allocations: 359.6 kB / 1.356 GB, free: 14.39 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.7571, allocations: 8.922 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.7571, allocations: 38.73 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.7571, allocations: 12.89 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.7573, allocations: 177.1 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.7574, allocations: 4.375 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.7574, allocations: 12.38 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.7575, allocations: 84.69 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7575, allocations: 7.938 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.7575, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.7575, allocations: 0 / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.966e-05/0.7576, allocations: 31.92 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.758, allocations: 480.1 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.079e-05/0.758, allocations: 38.58 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.7581, allocations: 8.922 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.7581, allocations: 0 / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.7582, allocations: 87.25 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.7582, allocations: 0 / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0001821/0.7584, allocations: 73.64 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.7584, allocations: 55.41 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.7585, allocations: 169.1 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.7585, allocations: 29.7 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.7586, allocations: 116 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.7586, allocations: 7.938 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.7587, allocations: 29.7 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.7587, allocations: 326.8 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/0.7588, allocations: 65.69 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.7589, allocations: 100.2 kB / 1.357 GB, free: 12.27 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.759, allocations: 84.28 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.759, allocations: 0 / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002013/0.7592, allocations: 205 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.7592, allocations: 33.7 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7592, allocations: 0 / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7592, allocations: 7.984 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.7593, allocations: 3.938 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7593, allocations: 7.938 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.7594, allocations: 31.86 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.7594, allocations: 4 kB / 1.358 GB, free: 11.86 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: 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 7.349e-05/0.7595, allocations: 121.9 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.7595, allocations: 15.94 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.7595, allocations: 16.97 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.7595, allocations: 0 / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7595, allocations: 3.938 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7596, allocations: 0 / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.88e-05/0.7597, allocations: 156.7 kB / 1.358 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7597, allocations: 4 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.7597, allocations: 0 / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.7597, allocations: 0 / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.7597, allocations: 0 / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7597, allocations: 4 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7597, allocations: 12 kB / 1.358 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.568e-05/0.7598, allocations: 101 kB / 1.358 GB, free: 11.36 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.7598, allocations: 7.953 kB / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.7598, allocations: 0 / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.7598, allocations: 0 / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.7598, allocations: 15.92 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.7599, allocations: 0 / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.7599, allocations: 128.9 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7599, allocations: 0 / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001476/0.7601, allocations: 20 kB / 1.358 GB, free: 11.19 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: 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.0003096/0.7604, allocations: 0.6474 MB / 1.359 GB, free: 10.51 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.7606, allocations: 153.1 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7606, allocations: 0 / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.7606, allocations: 16.36 kB / 1.359 GB, free: 10.33 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.7608, allocations: 19.92 kB / 1.359 GB, free: 10.31 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.7621, allocations: 1.821 MB / 1.361 GB, free: 8.359 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.7623, allocations: 88.31 kB / 1.361 GB, free: 8.25 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.7624, allocations: 8.375 kB / 1.361 GB, free: 8.242 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.7624, allocations: 31.42 kB / 1.361 GB, free: 8.211 MB / 1.042 GB Notification: Performance of SimCode: time 4.7e-07/0.7624, allocations: 0 / 1.361 GB, free: 8.211 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08129/0.8437, allocations: 3.513 MB / 1.365 GB, free: 4.879 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.872, allocations: 12.09 kB / 1.365 GB, free: 4.871 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Templates_Plants_Controls_Utilities_Validation_PlaceholderReal.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_fmpy.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_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_PlaceholderReal.fmu) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.PlaceholderReal_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.70022084005177]