Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Sources.Examples.DayType.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypMon.y.1.|dayTypSat.y.1.|dayTypTwoWeeks.y.1.|dayTypMonThr.y.1.|dayTypMonThr.y.2.|dayTypMonThr.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypMon.y.1.|dayTypSat.y.1.|dayTypTwoWeeks.y.1.|dayTypMonThr.y.1.|dayTypMonThr.y.2.|dayTypMonThr.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 112.7 kB / 16.42 MB, free: 6.441 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.002194/0.002195, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.492/1.492, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 63.84 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218/1.219, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.004195/1.223, allocations: 1.43 MB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008627/1.224, allocations: 277.7 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/1.224, allocations: 3.938 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/1.225, allocations: 15.86 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/1.225, allocations: 19.84 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/1.225, allocations: 91.8 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004078/1.226, allocations: 235.9 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/1.226, allocations: 9.125 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/1.226, allocations: 87.81 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/1.226, allocations: 103.7 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/1.227, allocations: 16 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.69e-05/1.227, allocations: 19.94 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/1.227, allocations: 83.78 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001596/1.227, allocations: 103.4 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/1.227, allocations: 259 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.227, allocations: 4 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.846e-06/1.227, allocations: 0 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.034e-05/1.227, allocations: 0 / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001387/1.229, allocations: 0.6918 MB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.933e-05/1.229, allocations: 12.92 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/1.229, allocations: 28.56 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/1.229, allocations: 262.8 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/1.229, allocations: 16.66 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/1.23, allocations: 16.38 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/1.23, allocations: 463.8 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/1.23, allocations: 4.125 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/1.23, allocations: 7.938 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/1.23, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/1.231, allocations: 323.8 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/1.232, allocations: 0.5624 MB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/1.233, allocations: 1.029 MB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008676/1.234, allocations: 0.6594 MB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-05/1.234, allocations: 4 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008311/1.235, allocations: 484.6 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 3.176e-06/1.235, allocations: 0 / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001705/1.237, allocations: 1.116 MB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/1.237, allocations: 136.5 kB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/1.237, allocations: 264.9 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/1.238, allocations: 37.7 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.238, allocations: 121.1 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.238, allocations: 83 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.238, allocations: 110.1 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.238, allocations: 342.8 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/1.239, allocations: 332.7 kB / 1.177 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/1.239, allocations: 426.4 kB / 1.177 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.24, allocations: 0.7662 MB / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.24, allocations: 0 / 1.178 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001121/1.241, allocations: 0.8365 MB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/1.241, allocations: 4 kB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.241, allocations: 11.88 kB / 1.179 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/1.241, allocations: 4 kB / 1.179 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/1.242, allocations: 39.91 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/1.242, allocations: 4 kB / 1.179 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/1.242, allocations: 39.73 kB / 1.179 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/1.242, allocations: 263.5 kB / 1.179 GB, free: 7.332 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 (dayTypMonThr.skipIDayIncrement,$PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.iDay,$PRE.dayTypMonThr.iDay,dayTypMonThr.y[3],dayTypMonThr.y[2],dayTypMonThr.y[1],dayTypTwoWeeks.skipIDayIncrement,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.iDay,$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.y[14],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[1],dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],dayTypMon.skipIDayIncrement,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.iDay,$PRE.dayTypMon.iDay,dayTypMon.y[2],dayTypMon.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002763/1.243, allocations: 197.9 kB / 1.179 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/1.243, allocations: 27.72 kB / 1.179 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.147e-05/1.243, allocations: 46.09 kB / 1.179 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/1.243, allocations: 3.984 kB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.243, allocations: 0 / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.243, allocations: 108.7 kB / 1.18 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/1.243, allocations: 8 kB / 1.18 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/1.243, allocations: 4 kB / 1.18 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.243, allocations: 59.94 kB / 1.18 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00134/1.245, allocations: 1.127 MB / 1.181 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001344/1.246, allocations: 1.202 MB / 1.182 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005249/1.246, allocations: 383.7 kB / 1.182 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000204/1.247, allocations: 180.5 kB / 1.182 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of Backend: time 2.81e-07/1.247, allocations: 0 / 1.182 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001254/1.248, allocations: 0.4955 MB / 1.183 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001859/1.25, allocations: 1.059 MB / 1.184 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of Templates: time 0.01335/1.263, allocations: 6.95 MB / 1.191 GB, free: 11.48 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_10_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_10_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_10_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_10_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Sources.Examples.DayType_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Sources_Examples_DayType.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Sources.Examples.DayType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches