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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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.001578/0.001578, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001696/0.001696, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.12 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2985, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007148/0.3057, allocations: 5.838 MB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6383/0.944, allocations: 151.3 MB / 1.18 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008873/0.945, allocations: 20.84 kB / 1.18 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.9456, allocations: 216 kB / 1.18 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.9476, allocations: 0.6598 MB / 1.181 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.9498, allocations: 0.9754 MB / 1.182 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002242/0.9521, allocations: 1.913 MB / 1.184 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.9532, allocations: 0.7656 MB / 1.185 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.9543, allocations: 0.6699 MB / 1.185 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.9553, allocations: 0.7434 MB / 1.186 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.9556, allocations: 161.9 kB / 1.186 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.9572, allocations: 0.6401 MB / 1.187 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004664/0.9577, allocations: 440.9 kB / 1.187 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009315/0.9586, allocations: 0.7737 MB / 1.188 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.9616, allocations: 2.209 MB / 1.19 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9616, allocations: 0 / 1.19 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9616, allocations: 4 kB / 1.19 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.287e-05/0.9616, allocations: 0 / 1.19 GB, free: 15.03 MB / 0.9044 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.00349/0.9651, allocations: 1.809 MB / 1.192 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.9652, allocations: 8.781 kB / 1.192 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008724/0.9739, allocations: 1.279 MB / 1.193 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.9762, allocations: 0.9748 MB / 1.194 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.9763, allocations: 91.83 kB / 1.194 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.9766, allocations: 119.4 kB / 1.194 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005055/0.9816, allocations: 2.043 MB / 1.196 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.9817, allocations: 4 kB / 1.196 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.9819, allocations: 52.84 kB / 1.196 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.9819, allocations: 34.16 kB / 1.196 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006918/0.9888, allocations: 2.754 MB / 1.199 GB, free: 9.535 MB / 0.9044 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.009285/0.9981, allocations: 4.708 MB / 1.204 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007237/1.005, allocations: 2.741 MB / 1.206 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/1.008, allocations: 1.045 MB / 1.207 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005662/1.009, allocations: 0.6084 MB / 1.208 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003377/1.012, allocations: 1.352 MB / 1.209 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=132): time 4.709e-06/1.012, allocations: 0 / 1.209 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of matching and sorting (n=132): time 0.01042/1.023, allocations: 3.387 MB / 1.213 GB, free: 14.58 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.023, allocations: 201.2 kB / 1.213 GB, free: 14.34 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/1.024, allocations: 0.7744 MB / 1.214 GB, free: 13.55 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/1.024, allocations: 49.7 kB / 1.214 GB, free: 13.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/1.025, allocations: 480.9 kB / 1.214 GB, free: 13.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/1.025, allocations: 429.8 kB / 1.214 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/1.026, allocations: 274.6 kB / 1.215 GB, free: 12.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.026, allocations: 349.9 kB / 1.215 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002755/1.028, allocations: 0.9664 MB / 1.216 GB, free: 11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/1.032, allocations: 1.101 MB / 1.217 GB, free: 9.879 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/1.037, allocations: 1.919 MB / 1.219 GB, free: 7.945 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.037, allocations: 4 kB / 1.219 GB, free: 7.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006921/1.044, allocations: 2.319 MB / 1.221 GB, free: 5.609 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.044, allocations: 10.59 kB / 1.221 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/1.044, allocations: 4 kB / 1.221 GB, free: 5.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/1.045, allocations: 84.41 kB / 1.221 GB, free: 5.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/1.047, allocations: 435.3 kB / 1.222 GB, free: 5.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.049, allocations: 1.642 MB / 1.223 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/1.051, allocations: 278.7 kB / 1.224 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.052, allocations: 75.86 kB / 1.224 GB, free: 2.949 MB / 0.92 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.0007489/1.052, allocations: 327.8 kB / 1.224 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/1.053, allocations: 114.6 kB / 1.224 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007702/1.06, allocations: 2.721 MB / 1.227 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.06, allocations: 16 kB / 1.227 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.06, allocations: 0 / 1.227 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.06, allocations: 7.969 kB / 1.227 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009756/1.07, allocations: 4.308 MB / 1.231 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/1.07, allocations: 0 / 1.231 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/1.073, allocations: 407.4 kB / 1.231 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/1.073, allocations: 80.72 kB / 1.231 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/1.073, allocations: 47.94 kB / 1.231 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/1.075, allocations: 1.68 MB / 1.233 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.075, allocations: 4.062 kB / 1.233 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006954/1.082, allocations: 2.485 MB / 1.236 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/1.083, allocations: 423.1 kB / 1.236 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002574/1.083, allocations: 31.98 kB / 1.236 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.085, allocations: 228.5 kB / 1.236 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/1.085, allocations: 105.2 kB / 1.236 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/1.085, allocations: 59.94 kB / 1.236 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007841/1.086, allocations: 0.5537 MB / 1.237 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.01e-07/1.086, allocations: 4 kB / 1.237 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001519/1.088, allocations: 0.495 MB / 1.237 GB, free: 4.617 MB / 0.9356 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.001602/1.089, allocations: 0.6463 MB / 1.238 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006721/1.096, allocations: 2.344 MB / 1.24 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.096, allocations: 0 / 1.24 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/1.1, allocations: 1.317 MB / 1.242 GB, free: 472 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/1.101, allocations: 335.6 kB / 1.242 GB, free: 160 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/1.107, allocations: 2.811 MB / 1.245 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/1.108, allocations: 1.152 MB / 1.246 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001658/1.11, allocations: 497.1 kB / 1.246 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/1.11, allocations: 167.3 kB / 1.246 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of SimCode: time 9.21e-07/1.11, allocations: 0 / 1.246 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.03645/1.147, allocations: 23.13 MB / 1.269 GB, free: 4.52 MB / 0.9669 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 -s cvode -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