Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Reals.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime",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.00458/0.00458, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.0012/0.0012, allocations: 195.4 kB / 16.67 MB, free: 5.973 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.631/2.631, allocations: 482.6 MB / 0.755 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 62.41 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2869, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime): time 0.003417/0.2903, allocations: 2.465 MB / 1.244 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.2927, allocations: 1.582 MB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2928, allocations: 7.938 kB / 1.246 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.2934, allocations: 322.9 kB / 1.246 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.294, allocations: 342.6 kB / 1.246 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.2948, allocations: 437.2 kB / 1.247 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007197/0.2956, allocations: 0.7129 MB / 1.248 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.2957, allocations: 77.72 kB / 1.248 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.2961, allocations: 318.7 kB / 1.248 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.2965, allocations: 322.7 kB / 1.248 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.175e-05/0.2965, allocations: 28 kB / 1.248 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.2967, allocations: 91.97 kB / 1.248 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.2969, allocations: 191.3 kB / 1.249 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.2972, allocations: 266.2 kB / 1.249 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.2979, allocations: 0.7469 MB / 1.25 GB, free: 1 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2979, allocations: 3.938 kB / 1.25 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2979, allocations: 0 / 1.25 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.298, allocations: 0 / 1.25 GB, free: 0.9961 MB / 0.9669 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.001402/0.2994, allocations: 1.034 MB / 1.251 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2994, allocations: 8.031 kB / 1.251 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.2995, allocations: 42.73 kB / 1.251 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2996, allocations: 76.47 kB / 1.251 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008358/0.3004, allocations: 0.6295 MB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.3004, allocations: 16.12 kB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.3005, allocations: 12 kB / 1.251 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.3009, allocations: 205.7 kB / 1.252 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3009, allocations: 0 / 1.252 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3009, allocations: 7.984 kB / 1.252 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3009, allocations: 4 kB / 1.252 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.3012, allocations: 99.88 kB / 1.252 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3024, allocations: 1.059 MB / 1.253 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.303, allocations: 281 kB / 1.253 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.3032, allocations: 100.2 kB / 1.253 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3033, allocations: 7.984 kB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/0.3037, allocations: 230.7 kB / 1.253 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.3037, allocations: 0 / 1.253 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.0009093/0.3046, allocations: 428.9 kB / 1.254 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.3047, allocations: 166.1 kB / 1.254 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.3059, allocations: 1.028 MB / 1.255 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3059, allocations: 37.7 kB / 1.255 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.3062, allocations: 288.9 kB / 1.255 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.3062, allocations: 79.42 kB / 1.255 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.3064, allocations: 142.2 kB / 1.255 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3066, allocations: 334 kB / 1.256 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.307, allocations: 209.2 kB / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.3074, allocations: 316.2 kB / 1.256 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.3081, allocations: 409.6 kB / 1.257 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3081, allocations: 0 / 1.257 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001106/0.3092, allocations: 0.6701 MB / 1.257 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3092, allocations: 8 kB / 1.257 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3092, allocations: 0 / 1.257 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3092, allocations: 8.156 kB / 1.257 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.3097, allocations: 123.8 kB / 1.257 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3097, allocations: 4 kB / 1.257 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3099, allocations: 39.83 kB / 1.257 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.31, allocations: 27.98 kB / 1.257 GB, free: 8.535 MB / 0.9825 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.0002885/0.3103, allocations: 282 kB / 1.258 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.3104, allocations: 79.48 kB / 1.258 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3105, allocations: 69.89 kB / 1.258 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.3105, allocations: 15.92 kB / 1.258 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3105, allocations: 3.984 kB / 1.258 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3105, allocations: 4 kB / 1.258 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.311, allocations: 461.2 kB / 1.258 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.311, allocations: 3.938 kB / 1.258 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.311, allocations: 23.98 kB / 1.258 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3111, allocations: 4 kB / 1.258 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.3111, allocations: 4 kB / 1.258 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3111, allocations: 7.922 kB / 1.258 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3111, allocations: 4 kB / 1.258 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.3117, allocations: 391.8 kB / 1.259 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.3119, allocations: 160.6 kB / 1.259 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.312, allocations: 11.98 kB / 1.259 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.3121, allocations: 23.92 kB / 1.259 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.3122, allocations: 23.97 kB / 1.259 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.3122, allocations: 20 kB / 1.259 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007191/0.313, allocations: 0.5966 MB / 1.26 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.313, allocations: 0 / 1.26 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004024/0.3134, allocations: 119.9 kB / 1.26 GB, free: 6.16 MB / 0.9825 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.002541/0.3159, allocations: 1.319 MB / 1.261 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007494/0.3167, allocations: 399.7 kB / 1.261 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3167, allocations: 4.312 kB / 1.261 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.317, allocations: 107.8 kB / 1.261 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008856/0.3178, allocations: 216.3 kB / 1.262 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/0.325, allocations: 5.793 MB / 1.267 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.3255, allocations: 0.9285 MB / 1.268 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002553/0.3258, allocations: 108.9 kB / 1.268 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.3261, allocations: 231.3 kB / 1.269 GB, free: 13 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.3261, allocations: 7.938 kB / 1.269 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.285/1.611, allocations: 13.53 MB / 1.282 GB, free: 15.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/15.53, allocations: 6.25 kB / 1.282 GB, free: 15.71 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)