Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 101.6 kB / 16.27 MB, free: 6.418 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.001302/0.001302, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.88 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2624, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime): time 0.004041/0.2665, allocations: 2.46 MB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4402/0.7066, allocations: 1.466 MB / 0.7879 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004944/0.7072, allocations: 12.62 kB / 0.7879 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000665/0.7079, allocations: 321 kB / 0.7882 GB, free: 45.97 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000733/0.7087, allocations: 339.9 kB / 0.7885 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009917/0.7097, allocations: 381.8 kB / 0.7889 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007736/0.7104, allocations: 0.6995 MB / 0.7896 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.7107, allocations: 76.95 kB / 0.7897 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003605/0.711, allocations: 324.7 kB / 0.79 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.7114, allocations: 316.5 kB / 0.7903 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.717e-05/0.7114, allocations: 30.31 kB / 0.7903 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.7117, allocations: 85.42 kB / 0.7904 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.7118, allocations: 194.2 kB / 0.7906 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.7121, allocations: 276.7 kB / 0.7908 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.7127, allocations: 0.7306 MB / 0.7915 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7127, allocations: 0 / 0.7915 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7127, allocations: 0 / 0.7915 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7128, allocations: 4.938 kB / 0.7916 GB, free: 45.58 MB / 0.6544 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.001415/0.7142, allocations: 0.9964 MB / 0.7925 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7142, allocations: 6.969 kB / 0.7925 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.7144, allocations: 78.72 kB / 0.7926 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.7151, allocations: 0.6238 MB / 0.7932 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.7152, allocations: 13.78 kB / 0.7932 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.7152, allocations: 12.62 kB / 0.7932 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.7156, allocations: 204.9 kB / 0.7934 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.7156, allocations: 3.656 kB / 0.7934 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.7156, allocations: 3.469 kB / 0.7934 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7156, allocations: 3.188 kB / 0.7934 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.7159, allocations: 99.22 kB / 0.7935 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.717, allocations: 1.055 MB / 0.7946 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.7176, allocations: 278.1 kB / 0.7948 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.7178, allocations: 101.7 kB / 0.7949 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.849e-05/0.7178, allocations: 8.016 kB / 0.7949 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.7182, allocations: 228.3 kB / 0.7952 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/0.7182, allocations: 3.938 kB / 0.7952 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.0008875/0.7191, allocations: 422.3 kB / 0.7956 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.7192, allocations: 170.9 kB / 0.7957 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.7203, allocations: 1.034 MB / 0.7967 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.7203, allocations: 32.42 kB / 0.7968 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.7205, allocations: 288.8 kB / 0.797 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.7206, allocations: 84.05 kB / 0.7971 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.7208, allocations: 145.9 kB / 0.7973 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.7209, allocations: 324 kB / 0.7976 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.7212, allocations: 214.8 kB / 0.7978 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.7216, allocations: 302.3 kB / 0.7981 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.7222, allocations: 411.8 kB / 0.7985 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.7222, allocations: 2.062 kB / 0.7985 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001188/0.7234, allocations: 0.6725 MB / 0.7991 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.7235, allocations: 4.594 kB / 0.7991 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7235, allocations: 3.531 kB / 0.7991 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.7235, allocations: 3.625 kB / 0.7991 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.7239, allocations: 121.1 kB / 0.7992 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.724, allocations: 7.5 kB / 0.7993 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.7243, allocations: 40.16 kB / 0.7993 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.7244, allocations: 25.83 kB / 0.7993 GB, free: 42.43 MB / 0.6544 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.000351/0.7247, allocations: 284.3 kB / 0.7996 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.7248, allocations: 73.45 kB / 0.7997 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.725, allocations: 70.67 kB / 0.7997 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.725, allocations: 3.469 kB / 0.7997 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.725, allocations: 2.25 kB / 0.7997 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.725, allocations: 8.797 kB / 0.7997 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.7255, allocations: 463 kB / 0.8002 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7255, allocations: 1.375 kB / 0.8002 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/0.7256, allocations: 26.25 kB / 0.8002 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7256, allocations: 0 / 0.8002 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.7257, allocations: 10.91 kB / 0.8002 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.7257, allocations: 3.594 kB / 0.8002 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7257, allocations: 4.484 kB / 0.8002 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.7263, allocations: 399.8 kB / 0.8006 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.7265, allocations: 152.3 kB / 0.8008 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.793e-05/0.7266, allocations: 14.16 kB / 0.8008 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.7268, allocations: 14.39 kB / 0.8008 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.7268, allocations: 32.33 kB / 0.8008 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.7269, allocations: 18.25 kB / 0.8008 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008543/0.7277, allocations: 0.5984 MB / 0.8014 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7277, allocations: 1.156 kB / 0.8014 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006038/0.7284, allocations: 119.7 kB / 0.8015 GB, free: 41.27 MB / 0.6544 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.001206/0.7296, allocations: 480.7 kB / 0.802 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009571/0.7305, allocations: 424.6 kB / 0.8024 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7305, allocations: 1.125 kB / 0.8024 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.7308, allocations: 106.7 kB / 0.8025 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.7318, allocations: 222.2 kB / 0.8027 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.7337, allocations: 1.142 MB / 0.8038 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.7342, allocations: 0.9235 MB / 0.8047 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.7344, allocations: 61.88 kB / 0.8048 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of SimCode: time 1.733e-06/0.7344, allocations: 0 / 0.8048 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.02081/0.7553, allocations: 8.81 MB / 0.8134 GB, free: 38.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)