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.001419/0.001419, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.742/2.742, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.89 kB / 0.8692 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6404/0.6425, allocations: 151.6 MB / 1.017 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008376/0.6509, allocations: 5.84 MB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1899/0.8408, allocations: 151.3 MB / 1.171 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000926/0.8418, allocations: 19.88 kB / 1.171 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.8425, allocations: 221.9 kB / 1.171 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.8446, allocations: 0.6552 MB / 1.172 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00239/0.847, allocations: 0.9788 MB / 1.173 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002421/0.8495, allocations: 1.897 MB / 1.174 GB, free: 1.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.8507, allocations: 0.7599 MB / 1.175 GB, free: 316 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.8517, allocations: 0.6736 MB / 1.176 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009736/0.8527, allocations: 0.7392 MB / 1.177 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.853, allocations: 160 kB / 1.177 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.8542, allocations: 0.6128 MB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004328/0.8546, allocations: 446.6 kB / 1.178 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008101/0.8555, allocations: 0.7658 MB / 1.178 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.8583, allocations: 2.162 MB / 1.181 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8583, allocations: 3.938 kB / 1.181 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8584, allocations: 0 / 1.181 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.8584, allocations: 0 / 1.181 GB, free: 10.74 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.003728/0.8621, allocations: 1.811 MB / 1.182 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.8622, allocations: 11.97 kB / 1.182 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009357/0.8715, allocations: 1.275 MB / 1.184 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.8736, allocations: 0.9536 MB / 1.185 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.8738, allocations: 94.45 kB / 1.185 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/0.874, allocations: 116 kB / 1.185 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005715/0.8798, allocations: 2.041 MB / 1.187 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.8798, allocations: 0 / 1.187 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.88, allocations: 55.98 kB / 1.187 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.88, allocations: 28 kB / 1.187 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008665/0.8887, allocations: 2.764 MB / 1.19 GB, free: 1.414 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.01038/0.8991, allocations: 4.743 MB / 1.194 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009056/0.9082, allocations: 2.731 MB / 1.197 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003601/0.9118, allocations: 1.042 MB / 1.198 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007287/0.9126, allocations: 0.614 MB / 1.198 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004188/0.9168, allocations: 1.356 MB / 1.2 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=132): time 3.827e-06/0.9168, allocations: 0 / 1.2 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132): time 0.0126/0.9294, allocations: 3.383 MB / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.9296, allocations: 197.2 kB / 1.203 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.9309, allocations: 0.7706 MB / 1.204 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002779/0.9312, allocations: 53.7 kB / 1.204 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/0.9318, allocations: 480.8 kB / 1.205 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006592/0.9324, allocations: 433.7 kB / 1.205 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007448/0.9332, allocations: 266.7 kB / 1.205 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.9334, allocations: 353.9 kB / 1.206 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003508/0.9369, allocations: 0.9665 MB / 1.206 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/0.9406, allocations: 1.105 MB / 1.208 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006788/0.9474, allocations: 1.919 MB / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.9474, allocations: 0 / 1.209 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008239/0.9557, allocations: 2.327 MB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.9557, allocations: 4 kB / 1.212 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.9557, allocations: 4 kB / 1.212 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/0.9564, allocations: 88.77 kB / 1.212 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002497/0.9589, allocations: 427.3 kB / 1.212 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.9614, allocations: 1.652 MB / 1.214 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.9638, allocations: 282.7 kB / 1.214 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.9641, allocations: 63.92 kB / 1.214 GB, free: 7.582 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.0008642/0.965, allocations: 336.9 kB / 1.214 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.9654, allocations: 114.6 kB / 1.215 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009217/0.9746, allocations: 2.727 MB / 1.217 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.9746, allocations: 16 kB / 1.217 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.9746, allocations: 0 / 1.217 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.9747, allocations: 7.969 kB / 1.217 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.9858, allocations: 4.317 MB / 1.221 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9858, allocations: 0 / 1.221 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/0.9882, allocations: 411.3 kB / 1.222 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/0.9887, allocations: 72.78 kB / 1.222 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/0.9889, allocations: 51.94 kB / 1.222 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002286/0.9912, allocations: 1.681 MB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9912, allocations: 4.031 kB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008328/0.9996, allocations: 2.487 MB / 1.226 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/1, allocations: 427.1 kB / 1.226 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/1.001, allocations: 28 kB / 1.227 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.003, allocations: 231.7 kB / 1.227 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/1.003, allocations: 101.2 kB / 1.227 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/1.003, allocations: 67.88 kB / 1.227 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009401/1.004, allocations: 0.5537 MB / 1.227 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/1.004, allocations: 0 / 1.227 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001587/1.006, allocations: 499 kB / 1.228 GB, free: 9.215 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.002388/1.008, allocations: 0.6407 MB / 1.229 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.019, allocations: 2.929 MB / 1.231 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.019, allocations: 0 / 1.231 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004257/1.023, allocations: 1.318 MB / 1.233 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/1.025, allocations: 344.9 kB / 1.233 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/1.033, allocations: 2.834 MB / 1.236 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.034, allocations: 1.163 MB / 1.237 GB, free: 112 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002151/1.036, allocations: 485.1 kB / 1.237 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/1.037, allocations: 163.3 kB / 1.238 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of SimCode: time 1.794e-06/1.037, allocations: 0 / 1.238 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.4867/1.523, allocations: 23.13 MB / 1.26 GB, free: 229.9 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=480 -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