Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005591/0.005591, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001449/0.001449, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.346/1.346, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437 MB / 0.7106 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5701, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007592/0.5778, allocations: 6.244 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.7303, allocations: 149.2 MB / 1.169 GB, free: 6.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.7315, allocations: 19.94 kB / 1.169 GB, free: 6.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008545/0.7323, allocations: 170.6 kB / 1.169 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.7346, allocations: 0.5984 MB / 1.17 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/0.7367, allocations: 0.8778 MB / 1.171 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002089/0.7388, allocations: 1.998 MB / 1.173 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.7401, allocations: 0.8305 MB / 1.173 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009885/0.7411, allocations: 0.6304 MB / 1.174 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009524/0.7421, allocations: 0.7429 MB / 1.175 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.7424, allocations: 92 kB / 1.175 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.7435, allocations: 0.5425 MB / 1.175 GB, free: 152 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.7439, allocations: 378.7 kB / 1.176 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007181/0.7446, allocations: 0.7577 MB / 1.177 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.7463, allocations: 1.844 MB / 1.178 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7463, allocations: 8 kB / 1.178 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7463, allocations: 0 / 1.178 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.7463, allocations: 0 / 1.178 GB, free: 13.16 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.00339/0.7497, allocations: 1.91 MB / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7498, allocations: 8.031 kB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009716/0.7595, allocations: 1.286 MB / 1.181 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.761, allocations: 1.039 MB / 1.182 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.7611, allocations: 94.67 kB / 1.183 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.7613, allocations: 132 kB / 1.183 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005115/0.7665, allocations: 2.205 MB / 1.185 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.7665, allocations: 3.984 kB / 1.185 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.7667, allocations: 67.92 kB / 1.185 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.7667, allocations: 32 kB / 1.185 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007681/0.7744, allocations: 2.956 MB / 1.188 GB, free: 3.254 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.008945/0.7833, allocations: 5.4 MB / 1.193 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007932/0.7913, allocations: 2.872 MB / 1.196 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/0.7944, allocations: 1.137 MB / 1.197 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/0.795, allocations: 0.6142 MB / 1.198 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003554/0.7985, allocations: 1.446 MB / 1.199 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 2.945e-06/0.7985, allocations: 0 / 1.199 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01103/0.8096, allocations: 3.629 MB / 1.203 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.8097, allocations: 193.2 kB / 1.203 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.8107, allocations: 0.8138 MB / 1.204 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.8109, allocations: 49.7 kB / 1.204 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.8113, allocations: 0.5123 MB / 1.204 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.8116, allocations: 433.7 kB / 1.205 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/0.8122, allocations: 278.6 kB / 1.205 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8123, allocations: 349.9 kB / 1.205 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/0.8154, allocations: 1.052 MB / 1.206 GB, free: 76 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.8186, allocations: 1.199 MB / 1.207 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006018/0.8246, allocations: 2.06 MB / 1.209 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.8247, allocations: 3.938 kB / 1.209 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00741/0.8321, allocations: 2.479 MB / 1.212 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.8322, allocations: 4 kB / 1.212 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.8322, allocations: 4 kB / 1.212 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/0.8329, allocations: 84.83 kB / 1.212 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/0.8357, allocations: 435.3 kB / 1.212 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.8386, allocations: 1.555 MB / 1.214 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/0.8418, allocations: 297.3 kB / 1.214 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004486/0.8422, allocations: 63.92 kB / 1.214 GB, free: 7.719 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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (151): * Single equations (assignments): 150 * 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.001491/0.8437, allocations: 352.7 kB / 1.214 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007432/0.8445, allocations: 114.6 kB / 1.215 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009163/0.8537, allocations: 2.883 MB / 1.217 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/0.8537, allocations: 15.98 kB / 1.217 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.8537, allocations: 8 kB / 1.217 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.8537, allocations: 3.984 kB / 1.217 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.8565, allocations: 1.823 MB / 1.219 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.737e-05/0.8566, allocations: 0 / 1.219 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/0.8589, allocations: 415.4 kB / 1.22 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005619/0.8595, allocations: 80.77 kB / 1.22 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.8597, allocations: 59.88 kB / 1.22 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.8616, allocations: 1.552 MB / 1.221 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.8617, allocations: 0 / 1.221 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007944/0.8696, allocations: 2.58 MB / 1.224 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.8707, allocations: 470.9 kB / 1.224 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/0.8711, allocations: 31.94 kB / 1.224 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/0.8733, allocations: 235.7 kB / 1.224 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.8736, allocations: 101.2 kB / 1.225 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/0.8738, allocations: 63.94 kB / 1.225 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001025/0.8748, allocations: 0.5849 MB / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8748, allocations: 0 / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001732/0.8765, allocations: 0.5068 MB / 1.226 GB, free: 11.62 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * 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.001783/0.8783, allocations: 0.6423 MB / 1.226 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007339/0.8857, allocations: 2.531 MB / 1.229 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/0.8857, allocations: 0 / 1.229 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.8895, allocations: 1.4 MB / 1.23 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.8914, allocations: 316.5 kB / 1.23 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007657/0.899, allocations: 3.697 MB / 1.234 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.9001, allocations: 1.191 MB / 1.235 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.9012, allocations: 199.2 kB / 1.235 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of SimCode: time 1.323e-06/0.9012, allocations: 0 / 1.235 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.5146/1.416, allocations: 30.69 MB / 1.265 GB, free: 228.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches