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.000965/0.000965, allocations: 80.52 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.001647/0.001647, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9453/0.9453, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.5 MB / 0.6343 GB, free: 12.58 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.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 1.513e-06/1.513e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.349e-05, allocations: 5.797 kB / 1.001 GB, free: 13.53 MB / 0.9636 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.001381/0.001394, allocations: 0.8881 MB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.00267, allocations: 1.206 MB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.002744, allocations: 3.938 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.00288, allocations: 27.73 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.002925, allocations: 23.84 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.003285, allocations: 147 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.003455, allocations: 175.5 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.00356, allocations: 29.58 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.003647, allocations: 83.86 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.003729, allocations: 35.89 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.00375, allocations: 12 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.271e-05/0.003813, allocations: 31.97 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.003835, allocations: 15.88 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.003886, allocations: 43.91 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.004073, allocations: 195.4 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004075, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004076, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.004079, allocations: 0 / 1.003 GB, free: 10.61 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.0003917/0.004471, allocations: 359.5 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.004508, allocations: 13.34 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.004536, allocations: 34.75 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.004573, allocations: 16.84 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.004763, allocations: 165.6 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.004784, allocations: 4.375 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.004803, allocations: 12.36 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.004911, allocations: 88.69 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.004919, allocations: 192 / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004929, allocations: 4.375 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.004937, allocations: 4.125 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.004981, allocations: 23.98 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.005363, allocations: 488.1 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.237e-05/0.005416, allocations: 38.44 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.005435, allocations: 16.92 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-06/0.00544, allocations: 0 / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.703e-05/0.005527, allocations: 63.39 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.005528, allocations: 0 / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001609/0.005689, allocations: 81.58 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.005719, allocations: 51.41 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.00584, allocations: 171.3 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.005858, allocations: 33.7 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.005907, allocations: 104.1 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.005917, allocations: 7.953 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.005961, allocations: 33.7 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.006041, allocations: 330.8 kB / 1.006 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.006113, allocations: 65.69 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.006183, allocations: 88.25 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.198e-05/0.006265, allocations: 96.27 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006267, allocations: 0 / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000191/0.006458, allocations: 200.9 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.006487, allocations: 41.69 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.006491, allocations: 4.062 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.006502, allocations: 0 / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.006545, allocations: 4 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.00655, allocations: 0 / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.006666, allocations: 31.91 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.006681, allocations: 7.984 kB / 1.006 GB, free: 7.707 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 7.394e-05/0.006754, allocations: 125.8 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.006765, allocations: 15.84 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.00679, allocations: 12.97 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006791, allocations: 4 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006795, allocations: 0 / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006798, allocations: 0 / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.238e-05/0.00689, allocations: 164.6 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006891, allocations: 0 / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.006901, allocations: 4 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.006903, allocations: 0 / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.006908, allocations: 0 / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.006909, allocations: 0 / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.00691, allocations: 0 / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.297e-05/0.006993, allocations: 101.2 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.007007, allocations: 19.92 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.007017, allocations: 0 / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.007031, allocations: 4 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.007055, allocations: 3.984 kB / 1.006 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.00706, allocations: 4 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.372e-05/0.007124, allocations: 127.9 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007124, allocations: 0 / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001509/0.007275, allocations: 23.95 kB / 1.007 GB, free: 7.031 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.0002754/0.00755, allocations: 0.6358 MB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.007727, allocations: 161 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007728, allocations: 0 / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.007752, allocations: 12 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.007921, allocations: 15.98 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.009317, allocations: 1.827 MB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.009497, allocations: 80.45 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.009522, allocations: 12.48 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.00956, allocations: 32.48 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of SimCode: time 6.72e-07/0.009561, allocations: 0 / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07712/0.08668, allocations: 3.646 MB / 1.013 GB, free: 0.6055 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.57, allocations: 2.062 kB / 1.013 GB, free: 0.6055 MB / 0.9636 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.208549180068076]