Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.001/2.001, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 172.6 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009261/0.0009258, allocations: 101.6 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.801e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.606/0.8107, allocations: 149.6 MB / 1.351 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.811, allocations: 89.41 kB / 1.351 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.009993/0.821, allocations: 3.906 MB / 1.355 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.8211, allocations: 5.938 kB / 1.355 GB, free: 15.98 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000391/0.8215, allocations: 386.8 kB / 1.356 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8215, allocations: 10.09 kB / 1.356 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.8216, allocations: 8.375 kB / 1.356 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.8217, allocations: 183 kB / 1.356 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.8217, allocations: 3.094 kB / 1.356 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.8218, allocations: 6.531 kB / 1.356 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000108/0.8219, allocations: 35.89 kB / 1.356 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.822, allocations: 78.25 kB / 1.356 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.822, allocations: 0 / 1.356 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.822, allocations: 0 / 1.356 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8221, allocations: 1.844 kB / 1.356 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.8224, allocations: 309.7 kB / 1.356 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.8226, allocations: 113.5 kB / 1.356 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.8227, allocations: 62.41 kB / 1.356 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.8228, allocations: 1.844 kB / 1.356 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.8229, allocations: 89.53 kB / 1.356 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.8229, allocations: 0 / 1.356 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0002277/0.8231, allocations: 110.3 kB / 1.357 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.8232, allocations: 54.09 kB / 1.357 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.948e-05/0.8232, allocations: 118.9 kB / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.8233, allocations: 25.7 kB / 1.357 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.8233, allocations: 91.38 kB / 1.357 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.8233, allocations: 23.98 kB / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.8233, allocations: 0 / 1.357 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.8234, allocations: 319.6 kB / 1.357 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.8235, allocations: 38.84 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.898e-05/0.8235, allocations: 54.28 kB / 1.357 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.8236, allocations: 36.5 kB / 1.357 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.8236, allocations: 1.031 kB / 1.357 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001989/0.8238, allocations: 122.3 kB / 1.357 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.8238, allocations: 5.094 kB / 1.357 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.8239, allocations: 4.688 kB / 1.357 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.8239, allocations: 2.328 kB / 1.357 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.8239, allocations: 6.281 kB / 1.357 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.824, allocations: 6.25 kB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.696e-05/0.824, allocations: 2.172 kB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/0.8241, allocations: 22.69 kB / 1.357 GB, free: 14.29 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.722e-05/0.8242, allocations: 109.3 kB / 1.358 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.8242, allocations: 7.281 kB / 1.358 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.8242, allocations: 19.11 kB / 1.358 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8242, allocations: 1.625 kB / 1.358 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8242, allocations: 0.7969 kB / 1.358 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.8243, allocations: 0.9688 kB / 1.358 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.8246, allocations: 375.7 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8246, allocations: 0 / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.8246, allocations: 3.547 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.8247, allocations: 0 / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.8247, allocations: 6.859 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8247, allocations: 9.234 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.8247, allocations: 0.625 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001705/0.8249, allocations: 202.9 kB / 1.358 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.8249, allocations: 83.7 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.8249, allocations: 1.578 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.825, allocations: 6.141 kB / 1.358 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.825, allocations: 21.09 kB / 1.358 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.8251, allocations: 23.67 kB / 1.358 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.991e-05/0.8251, allocations: 91.05 kB / 1.358 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002525/0.8254, allocations: 13.08 kB / 1.358 GB, free: 13.57 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001216/0.8255, allocations: 105.8 kB / 1.358 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.8257, allocations: 82.12 kB / 1.359 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8257, allocations: 4.969 kB / 1.359 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.8258, allocations: 49.06 kB / 1.359 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.8262, allocations: 66.39 kB / 1.359 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.8266, allocations: 143.3 kB / 1.359 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.8269, allocations: 0.7127 MB / 1.36 GB, free: 28.68 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.8269, allocations: 0.9688 kB / 1.36 GB, free: 28.68 MB / 0.823 GB Notification: Performance of Templates: time 0.004363/0.8313, allocations: 1.628 MB / 1.361 GB, free: 28.54 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches