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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 99.86 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.002074/0.002074, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7288/0.7292, allocations: 142.3 MB / 0.9535 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0007511/0.73, allocations: 366.2 kB / 0.9539 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003696/0.7303, allocations: 184.1 kB / 0.954 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.7304, allocations: 1.219 kB / 0.9541 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.926e-05/0.7305, allocations: 4 kB / 0.9541 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.632e-05/0.7305, allocations: 10.45 kB / 0.9541 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.7307, allocations: 34.16 kB / 0.9541 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.581e-05/0.7308, allocations: 36.3 kB / 0.9541 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.7309, allocations: 13.64 kB / 0.9541 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.731, allocations: 14.08 kB / 0.9542 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.413e-05/0.731, allocations: 24.03 kB / 0.9542 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.7311, allocations: 6.375 kB / 0.9542 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.7311, allocations: 1.125 kB / 0.9542 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.7311, allocations: 18.52 kB / 0.9542 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.7312, allocations: 38.23 kB / 0.9542 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.876e-05/0.7313, allocations: 55.12 kB / 0.9543 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.7313, allocations: 0 / 0.9543 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7313, allocations: 0 / 0.9543 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.7313, allocations: 1.625 kB / 0.9543 GB, free: 7.727 MB / 0.7169 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.0004512/0.7317, allocations: 392.1 kB / 0.9547 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7318, allocations: 13.59 kB / 0.9547 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.7318, allocations: 15.17 kB / 0.9547 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.732, allocations: 177.7 kB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.732, allocations: 3.469 kB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.732, allocations: 4.312 kB / 0.9549 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.7322, allocations: 85.11 kB / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.7322, allocations: 0 / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.7322, allocations: 1.594 kB / 0.955 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7322, allocations: 3.938 kB / 0.955 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.7323, allocations: 41 kB / 0.955 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.7328, allocations: 341.6 kB / 0.9553 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.7329, allocations: 117.5 kB / 0.9554 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.733, allocations: 5.594 kB / 0.9554 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.7331, allocations: 89.53 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.7331, allocations: 4 kB / 0.9555 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000265/0.7334, allocations: 159.4 kB / 0.9557 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.7334, allocations: 52.62 kB / 0.9557 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.97e-05/0.7335, allocations: 126.7 kB / 0.9559 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.7335, allocations: 26.89 kB / 0.9559 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.7336, allocations: 90.27 kB / 0.956 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.7336, allocations: 23.92 kB / 0.956 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.7336, allocations: 4 kB / 0.956 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.7336, allocations: 325 kB / 0.9563 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/0.7337, allocations: 37.34 kB / 0.9563 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.141e-05/0.7338, allocations: 63.7 kB / 0.9564 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/0.7339, allocations: 29.81 kB / 0.9564 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7339, allocations: 1 kB / 0.9564 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001731/0.734, allocations: 133.3 kB / 0.9566 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7341, allocations: 5.5 kB / 0.9566 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7341, allocations: 5.094 kB / 0.9566 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7341, allocations: 5.016 kB / 0.9566 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.12e-05/0.7342, allocations: 5.688 kB / 0.9566 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7342, allocations: 13.23 kB / 0.9566 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.7342, allocations: 3.281 kB / 0.9566 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.7343, allocations: 25.7 kB / 0.9566 GB, free: 5.617 MB / 0.7169 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 () * Number of clocked 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 7.404e-05/0.7344, allocations: 121.7 kB / 0.9567 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.7344, allocations: 14.27 kB / 0.9567 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.7344, allocations: 14.62 kB / 0.9568 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7344, allocations: 4.953 kB / 0.9568 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.7345, allocations: 1.156 kB / 0.9568 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7345, allocations: 0 / 0.9568 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.7348, allocations: 414.1 kB / 0.9572 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.7348, allocations: 5.562 kB / 0.9572 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.7348, allocations: 9.016 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.7348, allocations: 5.266 kB / 0.9572 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.7349, allocations: 1.156 kB / 0.9572 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7349, allocations: 5.094 kB / 0.9572 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7349, allocations: 3.938 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.735, allocations: 222.1 kB / 0.9574 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.7351, allocations: 83.83 kB / 0.9575 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.7351, allocations: 5.203 kB / 0.9575 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.888e-05/0.7352, allocations: 1.531 kB / 0.9575 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.7352, allocations: 8.109 kB / 0.9575 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.7353, allocations: 33.42 kB / 0.9575 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.7353, allocations: 98.47 kB / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7353, allocations: 0 / 0.9576 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002433/0.7355, allocations: 16.53 kB / 0.9576 GB, free: 4.68 MB / 0.7169 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) * Number of clocked states: 0 () * 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 9.541e-05/0.7356, allocations: 104.7 kB / 0.9577 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000163/0.7358, allocations: 88.83 kB / 0.9578 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7358, allocations: 0 / 0.9578 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.7359, allocations: 53.66 kB / 0.9579 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.7363, allocations: 68.83 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.7366, allocations: 216.2 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.7367, allocations: 0.6962 MB / 0.9588 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.213e-05/0.7368, allocations: 18.09 kB / 0.9588 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.7368, allocations: 16.59 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7368, allocations: 0 / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of Templates: time 0.003466/0.7403, allocations: 1.583 MB / 0.9604 GB, free: 2.801 MB / 0.7169 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