Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.00131/0.00131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001349/0.001349, allocations: 194.2 kB / 16.25 MB, free: 6.621 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.88 kB / 0.8122 GB, free: 14.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5127, allocations: 140.3 MB / 0.9493 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002877/0.5156, allocations: 2.517 MB / 0.9517 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.5174, allocations: 1.565 MB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.5176, allocations: 12.22 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.518, allocations: 299.8 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.5185, allocations: 304.1 kB / 0.9538 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.5191, allocations: 407.5 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005102/0.5196, allocations: 0.7123 MB / 0.9549 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.5198, allocations: 79.67 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.5201, allocations: 332.9 kB / 0.9553 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.5203, allocations: 336.5 kB / 0.9556 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.5204, allocations: 29.19 kB / 0.9557 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.5206, allocations: 87.69 kB / 0.9557 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.5207, allocations: 193.8 kB / 0.9559 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.5209, allocations: 275.8 kB / 0.9562 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.5213, allocations: 0.7354 MB / 0.9569 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5213, allocations: 9.312 kB / 0.9569 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5214, allocations: 0 / 0.9569 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5214, allocations: 0 / 0.9569 GB, free: 3.559 MB / 0.7169 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.00108/0.5224, allocations: 1.002 MB / 0.9579 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.5225, allocations: 9.375 kB / 0.9579 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.5225, allocations: 42.02 kB / 0.9579 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.5226, allocations: 73.56 kB / 0.958 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.5233, allocations: 0.619 MB / 0.9586 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.5234, allocations: 17.55 kB / 0.9586 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.5234, allocations: 17.41 kB / 0.9586 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.5237, allocations: 198.3 kB / 0.9588 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.5237, allocations: 0.875 kB / 0.9588 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.5238, allocations: 5.062 kB / 0.9588 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5238, allocations: 7.281 kB / 0.9588 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.524, allocations: 97.06 kB / 0.9589 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.525, allocations: 1.053 MB / 0.96 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.5255, allocations: 278.9 kB / 0.9602 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.5257, allocations: 110.2 kB / 0.9603 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.5257, allocations: 11.16 kB / 0.9604 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.526, allocations: 221.4 kB / 0.9606 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.5261, allocations: 3.938 kB / 0.9606 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.0008087/0.5269, allocations: 417.8 kB / 0.961 GB, free: 292 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.5269, allocations: 170 kB / 0.9611 GB, free: 88 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.5281, allocations: 1.036 MB / 0.9621 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.5281, allocations: 37.3 kB / 0.9622 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.5283, allocations: 285.1 kB / 0.9624 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.5284, allocations: 77.02 kB / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.5286, allocations: 146.4 kB / 0.9627 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5287, allocations: 331.1 kB / 0.963 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.5291, allocations: 212.2 kB / 0.9632 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.5295, allocations: 306 kB / 0.9635 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006181/0.5301, allocations: 411.5 kB / 0.9639 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5302, allocations: 1.094 kB / 0.9639 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001061/0.5312, allocations: 0.6772 MB / 0.9645 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5312, allocations: 6.219 kB / 0.9645 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5313, allocations: 2.156 kB / 0.9645 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5313, allocations: 5.219 kB / 0.9645 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.5317, allocations: 120.2 kB / 0.9647 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.5317, allocations: 8.594 kB / 0.9647 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.5319, allocations: 46.16 kB / 0.9647 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.532, allocations: 26.94 kB / 0.9647 GB, free: 13.88 MB / 0.7325 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.0002704/0.5323, allocations: 278.4 kB / 0.965 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.5324, allocations: 73.06 kB / 0.9651 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.5325, allocations: 70.56 kB / 0.9651 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5325, allocations: 7.062 kB / 0.9651 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5325, allocations: 2.188 kB / 0.9651 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5325, allocations: 1 kB / 0.9651 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.5329, allocations: 461.2 kB / 0.9656 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.533, allocations: 4.969 kB / 0.9656 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.533, allocations: 23.77 kB / 0.9656 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.533, allocations: 2.156 kB / 0.9656 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.5331, allocations: 13.7 kB / 0.9656 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.5331, allocations: 5.875 kB / 0.9656 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5331, allocations: 1.188 kB / 0.9656 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.5337, allocations: 399.2 kB / 0.966 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.5338, allocations: 159.3 kB / 0.9662 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.5339, allocations: 8.5 kB / 0.9662 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.5341, allocations: 20.83 kB / 0.9662 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.5342, allocations: 22.25 kB / 0.9662 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.5342, allocations: 18.77 kB / 0.9662 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006602/0.5349, allocations: 0.6037 MB / 0.9668 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5349, allocations: 3.938 kB / 0.9668 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003871/0.5353, allocations: 113.2 kB / 0.9669 GB, free: 12.42 MB / 0.7325 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.001772/0.537, allocations: 1.309 MB / 0.9682 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006929/0.5377, allocations: 412.7 kB / 0.9686 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5377, allocations: 0 / 0.9686 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.538, allocations: 112.6 kB / 0.9687 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/0.5388, allocations: 222.5 kB / 0.9689 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.5462, allocations: 6.092 MB / 0.9749 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.5467, allocations: 0.9323 MB / 0.9758 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.5469, allocations: 113 kB / 0.9759 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.5472, allocations: 235.3 kB / 0.9761 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5472, allocations: 0 / 0.9761 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.163/2.71, allocations: 13.18 MB / 0.989 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002317/2.711, allocations: 264 kB / 0.9892 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/5.068, allocations: 4 kB / 0.9892 GB, free: 8.633 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)