Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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.001916/0.001916, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002132/0.002133, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.559/2.559, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.511/3.511, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004459, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.00416/1.013, allocations: 2.057 MB / 0.9829 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003604/1.017, allocations: 1.459 MB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/1.017, allocations: 7.938 kB / 0.9843 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008877/1.018, allocations: 287.2 kB / 0.9846 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/1.019, allocations: 287.1 kB / 0.9849 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/1.021, allocations: 365.5 kB / 0.9852 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001279/1.022, allocations: 439.1 kB / 0.9856 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/1.022, allocations: 77.7 kB / 0.9857 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/1.023, allocations: 294.8 kB / 0.986 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/1.023, allocations: 247 kB / 0.9862 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/1.023, allocations: 12 kB / 0.9862 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/1.024, allocations: 63.84 kB / 0.9863 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002129/1.024, allocations: 163.5 kB / 0.9865 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/1.024, allocations: 117.3 kB / 0.9866 GB, free: 476 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007209/1.025, allocations: 0.5867 MB / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.025, allocations: 0 / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.635e-06/1.025, allocations: 0 / 0.9871 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.144e-05/1.025, allocations: 0 / 0.9871 GB, free: 15.88 MB / 0.7481 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.001947/1.027, allocations: 0.9019 MB / 0.988 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/1.027, allocations: 8.031 kB / 0.988 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/1.027, allocations: 46.55 kB / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/1.027, allocations: 71.06 kB / 0.9881 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/1.028, allocations: 0.5891 MB / 0.9887 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/1.028, allocations: 15.98 kB / 0.9887 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/1.028, allocations: 8 kB / 0.9887 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/1.029, allocations: 207.3 kB / 0.9889 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.029, allocations: 3.938 kB / 0.9889 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/1.029, allocations: 4 kB / 0.989 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.029, allocations: 4 kB / 0.989 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/1.029, allocations: 99.81 kB / 0.989 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/1.031, allocations: 1.067 MB / 0.9901 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/1.031, allocations: 277.3 kB / 0.9904 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/1.031, allocations: 8.078 kB / 0.9904 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004318/1.032, allocations: 221.5 kB / 0.9906 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/1.032, allocations: 0 / 0.9906 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001008/1.033, allocations: 420.5 kB / 0.991 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.033, allocations: 162.2 kB / 0.9911 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/1.034, allocations: 1.032 MB / 0.9921 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/1.034, allocations: 33.7 kB / 0.9922 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/1.035, allocations: 288.8 kB / 0.9924 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/1.035, allocations: 83.08 kB / 0.9925 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/1.035, allocations: 8 kB / 0.9925 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002203/1.035, allocations: 337.9 kB / 0.9929 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/1.036, allocations: 213.2 kB / 0.9931 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/1.036, allocations: 303 kB / 0.9933 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/1.037, allocations: 240 kB / 0.9936 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.037, allocations: 0 / 0.9936 GB, free: 8.934 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001154/1.038, allocations: 0.6642 MB / 0.9942 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.038, allocations: 8 kB / 0.9942 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.038, allocations: 4 kB / 0.9942 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.038, allocations: 4 kB / 0.9942 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/1.038, allocations: 115.8 kB / 0.9944 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.038, allocations: 8 kB / 0.9944 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/1.039, allocations: 39.73 kB / 0.9944 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.367e-05/1.039, allocations: 29.23 kB / 0.9944 GB, free: 8.062 MB / 0.7481 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 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003887/1.039, allocations: 289.5 kB / 0.9947 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/1.039, allocations: 71.06 kB / 0.9948 GB, free: 7.699 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1.039, allocations: 69.83 kB / 0.9948 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/1.039, allocations: 4 kB / 0.9948 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.039, allocations: 4 kB / 0.9948 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/1.039, allocations: 3.984 kB / 0.9948 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/1.04, allocations: 465.2 kB / 0.9953 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.04, allocations: 0 / 0.9953 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/1.04, allocations: 19.98 kB / 0.9953 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.04, allocations: 4 kB / 0.9953 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/1.04, allocations: 15.94 kB / 0.9953 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.04, allocations: 0 / 0.9953 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.04, allocations: 4 kB / 0.9953 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/1.041, allocations: 430.3 kB / 0.9957 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/1.041, allocations: 172.1 kB / 0.9959 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.041, allocations: 11.98 kB / 0.9959 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/1.042, allocations: 23.94 kB / 0.9959 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/1.042, allocations: 23.95 kB / 0.996 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/1.042, allocations: 16 kB / 0.996 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009139/1.043, allocations: 0.6044 MB / 0.9966 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.043, allocations: 0 / 0.9966 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004831/1.043, allocations: 119.9 kB / 0.9967 GB, free: 5.613 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002468/1.046, allocations: 1.634 MB / 0.9983 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008555/1.046, allocations: 402.7 kB / 0.9987 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.046, allocations: 3.938 kB / 0.9987 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/1.047, allocations: 107.8 kB / 0.9988 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/1.048, allocations: 184.3 kB / 0.9989 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/1.051, allocations: 2.949 MB / 1.002 GB, free: 396 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/1.052, allocations: 0.9406 MB / 1.003 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003461/1.052, allocations: 117.5 kB / 1.003 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/1.052, allocations: 235.3 kB / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of SimCode: time 3.21e-07/1.052, allocations: 0 / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/1.092, allocations: 13.25 MB / 1.016 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/1.092, allocations: 251.6 kB / 1.016 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/4.355, allocations: 0 / 1.016 GB, free: 1.844 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat