Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_10_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_10_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.001449/0.001449, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001565/0.001565, allocations: 193 kB / 16.25 MB, free: 6.629 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.51/1.51, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.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.757/2.757, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.84 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.6126, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00827/0.6209, allocations: 5.847 MB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1741/0.795, allocations: 149.1 MB / 1.168 GB, free: 7.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.7962, allocations: 15.94 kB / 1.168 GB, free: 7.176 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.7969, allocations: 174.6 kB / 1.168 GB, free: 7.004 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.7988, allocations: 0.5864 MB / 1.169 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.8011, allocations: 0.8748 MB / 1.17 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.8033, allocations: 1.897 MB / 1.172 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.8046, allocations: 0.7645 MB / 1.172 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.8057, allocations: 0.6853 MB / 1.173 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009131/0.8067, allocations: 0.7471 MB / 1.174 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.8069, allocations: 164 kB / 1.174 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.8081, allocations: 0.6089 MB / 1.174 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.8085, allocations: 442.7 kB / 1.175 GB, free: 212 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007361/0.8093, allocations: 0.7698 MB / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.8117, allocations: 2.161 MB / 1.178 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8117, allocations: 0 / 1.178 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8117, allocations: 4 kB / 1.178 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.8117, allocations: 0 / 1.178 GB, free: 13.26 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.003484/0.8152, allocations: 1.822 MB / 1.18 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.8153, allocations: 8.031 kB / 1.18 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009413/0.8247, allocations: 1.275 MB / 1.181 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.8265, allocations: 0.9535 MB / 1.182 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.8266, allocations: 94.39 kB / 1.182 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.8268, allocations: 116 kB / 1.182 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005256/0.832, allocations: 2.045 MB / 1.184 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.8321, allocations: 0 / 1.184 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.8323, allocations: 48 kB / 1.184 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.8323, allocations: 28 kB / 1.184 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007955/0.8403, allocations: 2.76 MB / 1.187 GB, free: 3.934 MB / 0.9356 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.009211/0.8495, allocations: 4.74 MB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00816/0.8577, allocations: 2.747 MB / 1.194 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/0.8609, allocations: 1.039 MB / 1.195 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000663/0.8616, allocations: 0.6179 MB / 1.196 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003838/0.8654, allocations: 1.344 MB / 1.197 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 3.547e-06/0.8655, allocations: 0 / 1.197 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.01144/0.8769, allocations: 3.383 MB / 1.2 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/0.8771, allocations: 201.2 kB / 1.2 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.8784, allocations: 0.7745 MB / 1.201 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.8786, allocations: 49.7 kB / 1.201 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/0.8791, allocations: 480.8 kB / 1.202 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004677/0.8796, allocations: 437.7 kB / 1.202 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005488/0.8801, allocations: 266.7 kB / 1.202 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.8803, allocations: 349.9 kB / 1.203 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003068/0.8834, allocations: 0.9665 MB / 1.204 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003263/0.8867, allocations: 1.097 MB / 1.205 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006037/0.8927, allocations: 1.923 MB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.8927, allocations: 4 kB / 1.207 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007653/0.9004, allocations: 2.327 MB / 1.209 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.9005, allocations: 8 kB / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9005, allocations: 3.938 kB / 1.209 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.9011, allocations: 80.81 kB / 1.209 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.9036, allocations: 435.3 kB / 1.209 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.9061, allocations: 1.649 MB / 1.211 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/0.9085, allocations: 290.8 kB / 1.211 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.9087, allocations: 67.92 kB / 1.211 GB, free: 10.09 MB / 0.9669 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.0008743/0.9096, allocations: 331.8 kB / 1.212 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.91, allocations: 114.6 kB / 1.212 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008517/0.9185, allocations: 2.731 MB / 1.214 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.9185, allocations: 12 kB / 1.214 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9185, allocations: 0 / 1.214 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.9186, allocations: 7.969 kB / 1.214 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.9293, allocations: 4.313 MB / 1.219 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.9293, allocations: 0 / 1.219 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002405/0.9317, allocations: 407.4 kB / 1.219 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/0.9323, allocations: 76.78 kB / 1.219 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.9324, allocations: 51.94 kB / 1.219 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.9346, allocations: 1.681 MB / 1.221 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9346, allocations: 0 / 1.221 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007892/0.9425, allocations: 2.487 MB / 1.223 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008627/0.9434, allocations: 423.2 kB / 1.224 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.9437, allocations: 28 kB / 1.224 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/0.9459, allocations: 243.6 kB / 1.224 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.9461, allocations: 97.17 kB / 1.224 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.9463, allocations: 71.86 kB / 1.224 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008703/0.9472, allocations: 0.5498 MB / 1.225 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9472, allocations: 0 / 1.225 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001651/0.9489, allocations: 499.1 kB / 1.225 GB, free: 11.73 MB / 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.002317/0.9512, allocations: 0.6506 MB / 1.226 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009687/0.9609, allocations: 2.922 MB / 1.229 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.9609, allocations: 0 / 1.229 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/0.9648, allocations: 1.314 MB / 1.23 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.9666, allocations: 344.6 kB / 1.23 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/0.9737, allocations: 3.385 MB / 1.233 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008598/0.9746, allocations: 1.163 MB / 1.235 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002009/0.9767, allocations: 481.2 kB / 1.235 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/0.9773, allocations: 167.3 kB / 1.235 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/0.9773, allocations: 3.938 kB / 1.235 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of Templates: time 0.5014/1.479, allocations: 23 MB / 1.258 GB, free: 228.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches