Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_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_8_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.001299/0.001299, allocations: 99.94 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.001327/0.001327, 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 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.848/1.848, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.000982/0.0009824, allocations: 20.53 kB / 0.6737 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2967, allocations: 116.3 MB / 0.7873 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002575/0.2993, allocations: 2.05 MB / 0.7893 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.3015, allocations: 1.359 MB / 0.7906 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.3016, allocations: 11.88 kB / 0.7906 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.3021, allocations: 279.2 kB / 0.7909 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.3027, allocations: 283.2 kB / 0.7911 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.3033, allocations: 333.9 kB / 0.7914 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.3039, allocations: 439.1 kB / 0.7919 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.3041, allocations: 73.73 kB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.3047, allocations: 298.8 kB / 0.7922 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.3052, allocations: 247 kB / 0.7925 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.3053, allocations: 12 kB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.3055, allocations: 59.89 kB / 0.7925 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.3058, allocations: 163.5 kB / 0.7927 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.306, allocations: 125.2 kB / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008267/0.3068, allocations: 0.5847 MB / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3068, allocations: 0 / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3068, allocations: 7.938 kB / 0.7934 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3068, allocations: 0 / 0.7934 GB, free: 5.57 MB / 0.6075 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.001959/0.3088, allocations: 0.9007 MB / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.3089, allocations: 8.031 kB / 0.7943 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.894e-05/0.309, allocations: 46.55 kB / 0.7943 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3091, allocations: 79.02 kB / 0.7944 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.3106, allocations: 0.5892 MB / 0.795 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.3107, allocations: 12 kB / 0.795 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.3107, allocations: 11.94 kB / 0.795 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.3113, allocations: 197.8 kB / 0.7952 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3113, allocations: 4 kB / 0.7952 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.3114, allocations: 4 kB / 0.7952 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.3114, allocations: 4 kB / 0.7952 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.3118, allocations: 99.83 kB / 0.7953 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.314, allocations: 1.056 MB / 0.7963 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/0.315, allocations: 285.3 kB / 0.7966 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.427e-05/0.3151, allocations: 7.938 kB / 0.7966 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007289/0.3158, allocations: 223.4 kB / 0.7968 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 8.216e-06/0.3158, allocations: 7.984 kB / 0.7968 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001621/0.3175, allocations: 417.5 kB / 0.7972 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001692/0.3177, allocations: 162.2 kB / 0.7974 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.3198, allocations: 1.024 MB / 0.7984 GB, free: 160 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.3199, allocations: 37.7 kB / 0.7984 GB, free: 116 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.3203, allocations: 288.8 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3204, allocations: 83.08 kB / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.3205, allocations: 8 kB / 0.7988 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.3207, allocations: 334 kB / 0.7991 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.3213, allocations: 209.2 kB / 0.7993 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.322, allocations: 299 kB / 0.7996 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.3227, allocations: 240.3 kB / 0.7998 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3227, allocations: 0 / 0.7998 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002068/0.3248, allocations: 0.6744 MB / 0.8005 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.3249, allocations: 7.953 kB / 0.8005 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.3249, allocations: 4 kB / 0.8005 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.3249, allocations: 4 kB / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/0.3257, allocations: 116 kB / 0.8006 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.3257, allocations: 8 kB / 0.8006 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.3262, allocations: 47.75 kB / 0.8006 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/0.3264, allocations: 27.94 kB / 0.8007 GB, free: 13.76 MB / 0.6231 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.0005633/0.3269, allocations: 269.6 kB / 0.8009 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.3271, allocations: 75.06 kB / 0.801 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.3273, allocations: 77.83 kB / 0.8011 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.3273, allocations: 7.938 kB / 0.8011 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.3273, allocations: 4 kB / 0.8011 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3274, allocations: 4 kB / 0.8011 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.3281, allocations: 461.1 kB / 0.8015 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3281, allocations: 0 / 0.8015 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3282, allocations: 23.92 kB / 0.8015 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.3282, allocations: 4 kB / 0.8015 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.3283, allocations: 11.98 kB / 0.8016 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.3283, allocations: 4.141 kB / 0.8016 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.3283, allocations: 8 kB / 0.8016 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.3295, allocations: 438.2 kB / 0.802 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.3298, allocations: 172.1 kB / 0.8022 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.3299, allocations: 8 kB / 0.8022 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.3303, allocations: 19.98 kB / 0.8022 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.71e-05/0.3304, allocations: 23.92 kB / 0.8022 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.3304, allocations: 15.98 kB / 0.8022 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001231/0.3317, allocations: 0.6005 MB / 0.8028 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3317, allocations: 4 kB / 0.8028 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007608/0.3325, allocations: 108 kB / 0.8029 GB, free: 11.32 MB / 0.6231 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.003072/0.3356, allocations: 1.637 MB / 0.8045 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.3368, allocations: 391.2 kB / 0.8049 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3368, allocations: 0 / 0.8049 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.3372, allocations: 116.5 kB / 0.805 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.3385, allocations: 194.3 kB / 0.8052 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.3426, allocations: 2.96 MB / 0.8081 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008206/0.3435, allocations: 0.9406 MB / 0.809 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004769/0.344, allocations: 117.1 kB / 0.8091 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/0.3445, allocations: 231.3 kB / 0.8093 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of SimCode: time 1.083e-06/0.3445, allocations: 0 / 0.8093 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/0.5321, allocations: 13.25 MB / 0.8223 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003103/0.5324, allocations: 239 kB / 0.8225 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.978, allocations: 3.938 kB / 0.8225 GB, free: 7.531 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: