Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 198.4 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.285/2.285, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 63.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5129, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003337/0.5163, allocations: 2.513 MB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.5186, allocations: 1.56 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.5188, allocations: 11.88 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.5194, allocations: 311.2 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005351/0.5199, allocations: 303 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.5207, allocations: 417.4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.5213, allocations: 0.6582 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.5215, allocations: 73.73 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.5218, allocations: 294.5 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.5221, allocations: 322.6 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.5221, allocations: 12 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.5223, allocations: 67.97 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.5225, allocations: 175.3 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.5227, allocations: 254.1 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.5232, allocations: 0.7106 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5232, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5232, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.5232, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001195/0.5244, allocations: 0.999 MB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.5245, allocations: 12.03 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.5245, allocations: 46.73 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.99e-05/0.5246, allocations: 72 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/0.5253, allocations: 0.6211 MB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.5254, allocations: 24.06 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.5254, allocations: 12 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.5258, allocations: 207.2 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.5258, allocations: 0 / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.5258, allocations: 0 / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.5258, allocations: 4 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.526, allocations: 99.88 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.5272, allocations: 1.056 MB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.5277, allocations: 284.9 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.5279, allocations: 104.2 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.528, allocations: 15.98 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.5283, allocations: 212.1 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.5283, allocations: 7.938 kB / 1.028 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.0008402/0.5292, allocations: 417.6 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.5292, allocations: 166.1 kB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.5302, allocations: 1.036 MB / 1.029 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.5303, allocations: 33.7 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5305, allocations: 296.8 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.5305, allocations: 79.09 kB / 1.03 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.5307, allocations: 134.2 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.5308, allocations: 330 kB / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.5312, allocations: 213.2 kB / 1.03 GB, free: 4.367 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.5316, allocations: 319 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005848/0.5322, allocations: 405.6 kB / 1.031 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5322, allocations: 4 kB / 1.031 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009899/0.5332, allocations: 0.6704 MB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5332, allocations: 5.406 kB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5332, allocations: 8.125 kB / 1.032 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5332, allocations: 8 kB / 1.032 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.5336, allocations: 119.8 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.5336, allocations: 7.938 kB / 1.032 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.5338, allocations: 35.83 kB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.5339, allocations: 23.98 kB / 1.032 GB, free: 2.723 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.0002446/0.5342, allocations: 277.4 kB / 1.032 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.5342, allocations: 79.05 kB / 1.032 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.5343, allocations: 69.89 kB / 1.032 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.5344, allocations: 7.938 kB / 1.032 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5344, allocations: 4 kB / 1.032 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5344, allocations: 3.984 kB / 1.032 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.5348, allocations: 465.2 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5348, allocations: 0 / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.5348, allocations: 19.94 kB / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.5348, allocations: 7.984 kB / 1.033 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.5349, allocations: 8 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5349, allocations: 7.938 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5349, allocations: 7.938 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.5355, allocations: 387.5 kB / 1.033 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.5356, allocations: 164.1 kB / 1.033 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.5357, allocations: 15.97 kB / 1.033 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.5358, allocations: 19.92 kB / 1.033 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.5359, allocations: 23.91 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.5359, allocations: 16 kB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006176/0.5366, allocations: 0.6005 MB / 1.034 GB, free: 476 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5366, allocations: 3.938 kB / 1.034 GB, free: 472 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003629/0.5369, allocations: 116 kB / 1.034 GB, free: 356 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001708/0.5386, allocations: 1.295 MB / 1.035 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.5393, allocations: 411.3 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5393, allocations: 3.938 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.5396, allocations: 103.9 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.5403, allocations: 204.3 kB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007125/0.5475, allocations: 6.096 MB / 1.042 GB, free: 8.188 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.5479, allocations: 0.9249 MB / 1.043 GB, free: 7.234 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002469/0.5481, allocations: 116.9 kB / 1.043 GB, free: 7.117 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.5484, allocations: 231.3 kB / 1.043 GB, free: 6.891 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.5484, allocations: 4 kB / 1.043 GB, free: 6.887 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.5708, allocations: 12.87 MB / 1.056 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.571, allocations: 255.2 kB / 1.056 GB, free: 10 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.32, allocations: 0 / 1.056 GB, free: 10 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)