Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 104.8 kB / 16.27 MB, free: 6.418 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.001798/0.001798, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.564/2.564, allocations: 469.4 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 66.66 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2926, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008239/0.3008, allocations: 5.824 MB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7405/1.041, allocations: 151.3 MB / 1.218 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/1.043, allocations: 21.06 kB / 1.218 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000738/1.043, allocations: 224 kB / 1.218 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/1.046, allocations: 0.6586 MB / 1.219 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002728/1.049, allocations: 0.9675 MB / 1.22 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002693/1.051, allocations: 1.891 MB / 1.221 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/1.053, allocations: 0.7636 MB / 1.222 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/1.054, allocations: 0.6699 MB / 1.223 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/1.055, allocations: 0.745 MB / 1.223 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002691/1.056, allocations: 163.5 kB / 1.224 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/1.057, allocations: 0.6106 MB / 1.224 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/1.058, allocations: 439.4 kB / 1.225 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008775/1.058, allocations: 0.7753 MB / 1.225 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/1.062, allocations: 2.153 MB / 1.228 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.062, allocations: 0 / 1.228 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.264e-06/1.062, allocations: 0 / 1.228 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.324e-05/1.062, allocations: 6.953 kB / 1.228 GB, free: 1.148 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004196/1.066, allocations: 1.82 MB / 1.229 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.066, allocations: 8.469 kB / 1.229 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00942/1.075, allocations: 1.275 MB / 1.231 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/1.077, allocations: 0.9539 MB / 1.231 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/1.078, allocations: 90.45 kB / 1.232 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/1.078, allocations: 120 kB / 1.232 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005219/1.083, allocations: 2.041 MB / 1.234 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/1.083, allocations: 7.922 kB / 1.234 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/1.083, allocations: 48 kB / 1.234 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/1.083, allocations: 32 kB / 1.234 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008029/1.091, allocations: 2.756 MB / 1.236 GB, free: 8.449 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009819/1.101, allocations: 4.745 MB / 1.241 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008617/1.11, allocations: 2.739 MB / 1.244 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/1.113, allocations: 1.042 MB / 1.245 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/1.114, allocations: 0.6062 MB / 1.245 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003705/1.118, allocations: 1.361 MB / 1.247 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=132): time 3.947e-06/1.118, allocations: 0 / 1.247 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of matching and sorting (n=132): time 0.01131/1.129, allocations: 3.375 MB / 1.25 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.129, allocations: 205.2 kB / 1.25 GB, free: 10 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/1.13, allocations: 0.7744 MB / 1.251 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/1.13, allocations: 53.64 kB / 1.251 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/1.131, allocations: 480.9 kB / 1.251 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004164/1.131, allocations: 425.8 kB / 1.252 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000489/1.132, allocations: 278.6 kB / 1.252 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.132, allocations: 349.9 kB / 1.252 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/1.135, allocations: 0.9626 MB / 1.253 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/1.138, allocations: 1.094 MB / 1.254 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006184/1.145, allocations: 1.931 MB / 1.256 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/1.145, allocations: 0 / 1.256 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007493/1.152, allocations: 2.315 MB / 1.259 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/1.152, allocations: 7.938 kB / 1.259 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.152, allocations: 0.9375 kB / 1.259 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/1.153, allocations: 88.77 kB / 1.259 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/1.155, allocations: 431.3 kB / 1.259 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/1.158, allocations: 1.648 MB / 1.261 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/1.16, allocations: 282.7 kB / 1.261 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/1.16, allocations: 67.88 kB / 1.261 GB, free: 14.63 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008142/1.161, allocations: 331.8 kB / 1.261 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/1.162, allocations: 114.6 kB / 1.261 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008165/1.17, allocations: 2.727 MB / 1.264 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/1.17, allocations: 23.92 kB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.17, allocations: 4 kB / 1.264 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/1.17, allocations: 7.734 kB / 1.264 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009972/1.18, allocations: 4.303 MB / 1.268 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.18, allocations: 0 / 1.268 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/1.182, allocations: 411.4 kB / 1.269 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/1.183, allocations: 72.72 kB / 1.269 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/1.183, allocations: 55.94 kB / 1.269 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.185, allocations: 1.685 MB / 1.271 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.185, allocations: 4.031 kB / 1.271 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00754/1.192, allocations: 2.483 MB / 1.273 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007531/1.193, allocations: 427.1 kB / 1.273 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/1.193, allocations: 35.98 kB / 1.273 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/1.195, allocations: 223.7 kB / 1.274 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.195, allocations: 101.2 kB / 1.274 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/1.196, allocations: 63.94 kB / 1.274 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007503/1.196, allocations: 0.5537 MB / 1.274 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/1.196, allocations: 0 / 1.274 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001345/1.198, allocations: 0.4951 MB / 1.275 GB, free: 288 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/1.199, allocations: 0.6486 MB / 1.275 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009412/1.209, allocations: 2.922 MB / 1.278 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.209, allocations: 4.062 kB / 1.278 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003982/1.213, allocations: 1.306 MB / 1.28 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/1.214, allocations: 332.2 kB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/1.221, allocations: 2.894 MB / 1.283 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/1.222, allocations: 1.163 MB / 1.284 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.223, allocations: 191.2 kB / 1.284 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.223, allocations: 0 / 1.284 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of Templates: time 0.03706/1.26, allocations: 28.51 MB / 1.312 GB, free: 10.49 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches