Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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: 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.001406/0.001406, 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.362/2.362, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.314/4.314, allocations: 409.2 MB / 0.6838 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005922/0.0005926, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319/1.319, allocations: 146.8 MB / 0.9809 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.002665/1.322, allocations: 1.359 MB / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001368/1.324, allocations: 460.3 kB / 0.9827 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/1.324, allocations: 0 / 0.9827 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.309e-05/1.324, allocations: 7.922 kB / 0.9827 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/1.324, allocations: 27.95 kB / 0.9827 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/1.325, allocations: 217.9 kB / 0.9829 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005165/1.326, allocations: 187.7 kB / 0.9831 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/1.326, allocations: 29.09 kB / 0.9831 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00059/1.326, allocations: 179.6 kB / 0.9833 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004125/1.327, allocations: 135.7 kB / 0.9834 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/1.327, allocations: 12 kB / 0.9834 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/1.327, allocations: 8 kB / 0.9834 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/1.327, allocations: 83.72 kB / 0.9835 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/1.327, allocations: 73.58 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004904/1.328, allocations: 329.4 kB / 0.9839 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/1.328, allocations: 4 kB / 0.9839 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.777e-06/1.328, allocations: 0 / 0.9839 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.416e-05/1.328, allocations: 0 / 0.9839 GB, free: 3.254 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001472/1.329, allocations: 0.6798 MB / 0.9846 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.33, allocations: 8.031 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.332e-05/1.33, allocations: 46.55 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/1.33, allocations: 35.62 kB / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/1.33, allocations: 275 kB / 0.9849 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.834e-05/1.33, allocations: 19.98 kB / 0.9849 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.539e-05/1.33, allocations: 20 kB / 0.9849 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/1.332, allocations: 229.4 kB / 0.9852 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.332, allocations: 3.984 kB / 0.9852 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/1.332, allocations: 8 kB / 0.9852 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.332, allocations: 0 / 0.9852 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/1.333, allocations: 123.9 kB / 0.9853 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/1.335, allocations: 0.5746 MB / 0.9859 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/1.337, allocations: 194.5 kB / 0.986 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/1.337, allocations: 4.25 kB / 0.986 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/1.339, allocations: 227.1 kB / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 5.189e-06/1.339, allocations: 0 / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.004769/1.344, allocations: 494.2 kB / 0.9867 GB, free: 132 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/1.344, allocations: 63.39 kB / 0.9868 GB, free: 56 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/1.344, allocations: 320.4 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/1.345, allocations: 37.7 kB / 0.9871 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/1.345, allocations: 97.14 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/1.345, allocations: 39.44 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/1.345, allocations: 11.94 kB / 0.9873 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.345, allocations: 330.7 kB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/1.345, allocations: 99.88 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/1.346, allocations: 153.9 kB / 0.9878 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/1.346, allocations: 164.4 kB / 0.988 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.347, allocations: 0 / 0.988 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001256/1.348, allocations: 418.4 kB / 0.9884 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.348, allocations: 79.39 kB / 0.9885 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.348, allocations: 0 / 0.9885 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/1.348, allocations: 8 kB / 0.9885 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/1.348, allocations: 19.98 kB / 0.9885 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/1.348, allocations: 11.92 kB / 0.9885 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009102/1.349, allocations: 60.03 kB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.349, allocations: 35.98 kB / 0.9886 GB, free: 14.12 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0004146/1.35, allocations: 192.3 kB / 0.9888 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/1.35, allocations: 31.58 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/1.35, allocations: 30.36 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.35, allocations: 3.938 kB / 0.9888 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.35, allocations: 4 kB / 0.9888 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.35, allocations: 0 / 0.9888 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/1.354, allocations: 0.753 MB / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.354, allocations: 0 / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/1.354, allocations: 15.92 kB / 0.9896 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.354, allocations: 0 / 0.9896 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/1.354, allocations: 11.98 kB / 0.9896 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/1.354, allocations: 11.92 kB / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.354, allocations: 0 / 0.9896 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/1.358, allocations: 477 kB / 0.9901 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/1.358, allocations: 192.6 kB / 0.9903 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.358, allocations: 19.98 kB / 0.9903 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00082/1.359, allocations: 35.97 kB / 0.9903 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/1.359, allocations: 7.984 kB / 0.9903 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.359, allocations: 39.98 kB / 0.9904 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004401/1.36, allocations: 235 kB / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.8e-07/1.36, allocations: 0 / 0.9906 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007124/1.36, allocations: 48 kB / 0.9906 GB, free: 11.93 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.00318/1.364, allocations: 1.032 MB / 0.9916 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001549/1.365, allocations: 408.1 kB / 0.992 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.365, allocations: 0 / 0.992 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008478/1.366, allocations: 140.2 kB / 0.9922 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/1.367, allocations: 24.64 kB / 0.9922 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/1.371, allocations: 1.705 MB / 0.9938 GB, free: 8.512 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007984/1.372, allocations: 0.7555 MB / 0.9946 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001989/1.373, allocations: 17.41 kB / 0.9946 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/1.373, allocations: 40.91 kB / 0.9946 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of SimCode: time 2.255e-06/1.373, allocations: 0 / 0.9946 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/1.404, allocations: 5.046 MB / 0.9996 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003323/1.404, allocations: 217.5 kB / 0.9998 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/4.098, allocations: 0 / 0.9998 GB, free: 2.633 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus_res.mat does not exist to compare? outputFormat=mat