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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001291/0.001291, allocations: 191.6 kB / 16.14 MB, free: 6.699 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 62.25 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3018, allocations: 157.4 MB / 1.052 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007501/0.3093, allocations: 5.829 MB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1709/0.4803, allocations: 149 MB / 1.203 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.4823, allocations: 23.88 kB / 1.203 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.4835, allocations: 166.7 kB / 1.203 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.4863, allocations: 0.5629 MB / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.4889, allocations: 0.8501 MB / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.4913, allocations: 1.866 MB / 1.207 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.4926, allocations: 0.7511 MB / 1.207 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.4938, allocations: 0.5798 MB / 1.208 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.4949, allocations: 0.7041 MB / 1.209 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.4953, allocations: 84 kB / 1.209 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.4967, allocations: 0.5347 MB / 1.209 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004529/0.4971, allocations: 362.7 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000985/0.4981, allocations: 0.6993 MB / 1.21 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.5008, allocations: 2.091 MB / 1.212 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5008, allocations: 0 / 1.212 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5008, allocations: 0 / 1.212 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.79e-05/0.5009, allocations: 0 / 1.212 GB, free: 4.062 MB / 0.9669 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.004275/0.5052, allocations: 1.819 MB / 1.214 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5052, allocations: 8.031 kB / 1.214 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009904/0.5151, allocations: 1.275 MB / 1.215 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.5174, allocations: 0.9613 MB / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.5175, allocations: 86.45 kB / 1.216 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/0.518, allocations: 120 kB / 1.217 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006598/0.5246, allocations: 2.038 MB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.5247, allocations: 0 / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003/0.525, allocations: 52 kB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.5251, allocations: 28 kB / 1.219 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007876/0.533, allocations: 2.768 MB / 1.221 GB, free: 10.73 MB / 0.9825 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.01099/0.544, allocations: 4.744 MB / 1.226 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008453/0.5525, allocations: 2.723 MB / 1.229 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/0.5557, allocations: 1.046 MB / 1.23 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/0.5563, allocations: 0.6102 MB / 1.23 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003757/0.5601, allocations: 1.352 MB / 1.232 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 5.24e-06/0.5601, allocations: 0 / 1.232 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01126/0.5714, allocations: 3.387 MB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.5716, allocations: 193.2 kB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.5729, allocations: 0.7745 MB / 1.236 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.5731, allocations: 49.7 kB / 1.236 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000454/0.5736, allocations: 476.9 kB / 1.236 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.5741, allocations: 437.7 kB / 1.237 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/0.5746, allocations: 266.6 kB / 1.237 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5747, allocations: 357.9 kB / 1.237 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003001/0.5778, allocations: 0.9625 MB / 1.238 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/0.5809, allocations: 1.105 MB / 1.239 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005996/0.5869, allocations: 1.923 MB / 1.241 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.587, allocations: 4 kB / 1.241 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007574/0.5946, allocations: 2.319 MB / 1.243 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.5946, allocations: 8 kB / 1.243 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5947, allocations: 0 / 1.243 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006378/0.5953, allocations: 84.83 kB / 1.244 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.5979, allocations: 431.3 kB / 1.244 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.6003, allocations: 1.534 MB / 1.245 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.6029, allocations: 290.6 kB / 1.246 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/0.6031, allocations: 67.92 kB / 1.246 GB, free: 1.02 MB / 0.9981 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.0009602/0.6041, allocations: 336 kB / 1.246 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.6046, allocations: 118.6 kB / 1.246 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6915/1.296, allocations: 2.714 MB / 1.249 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.296, allocations: 24.41 kB / 1.249 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.296, allocations: 0.9375 kB / 1.249 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/1.296, allocations: 10.17 kB / 1.249 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.307, allocations: 4.295 MB / 1.253 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.307, allocations: 0.6094 kB / 1.253 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.309, allocations: 412.4 kB / 1.253 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005669/1.31, allocations: 84.06 kB / 1.254 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/1.31, allocations: 49.17 kB / 1.254 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/1.312, allocations: 1.566 MB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.312, allocations: 1.062 kB / 1.255 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00745/1.319, allocations: 2.486 MB / 1.258 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/1.32, allocations: 425.6 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.32, allocations: 35.34 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.322, allocations: 232.6 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/1.323, allocations: 107.7 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/1.323, allocations: 65.91 kB / 1.258 GB, free: 191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000772/1.324, allocations: 0.5525 MB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.324, allocations: 3.375 kB / 1.259 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00138/1.325, allocations: 498.3 kB / 1.259 GB, free: 190.9 MB / 0.9981 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.001614/1.327, allocations: 0.6438 MB / 1.26 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008091/1.335, allocations: 2.345 MB / 1.262 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.335, allocations: 1.062 kB / 1.262 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004184/1.339, allocations: 1.315 MB / 1.264 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.341, allocations: 304.5 kB / 1.264 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/1.349, allocations: 3.395 MB / 1.267 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009619/1.35, allocations: 1.157 MB / 1.268 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00232/1.352, allocations: 483.4 kB / 1.269 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007367/1.353, allocations: 168.5 kB / 1.269 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.353, allocations: 0 / 1.269 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.0446/1.398, allocations: 22.18 MB / 1.291 GB, free: 179.2 MB / 0.9981 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/jenkins/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