Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_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_latest_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.001384/0.001384, 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.001752/0.001752, 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.49/1.49, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 472.6 MB / 0.7448 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.05 kB / 0.9115 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3296, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007426/0.3371, allocations: 6.229 MB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.5017, allocations: 149.3 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.5032, allocations: 23.81 kB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007602/0.504, allocations: 186.6 kB / 1.22 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.5063, allocations: 0.61 MB / 1.22 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.5087, allocations: 0.8983 MB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.511, allocations: 2.049 MB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.5121, allocations: 0.8602 MB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009416/0.5131, allocations: 0.7359 MB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007812/0.5139, allocations: 0.8131 MB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.5141, allocations: 192 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.5152, allocations: 0.6363 MB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.5156, allocations: 482.6 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006958/0.5163, allocations: 0.8553 MB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.5187, allocations: 2.419 MB / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5187, allocations: 0 / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5188, allocations: 0 / 1.23 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.5188, allocations: 0 / 1.23 GB, free: 3.801 MB / 0.9825 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.003485/0.5223, allocations: 1.906 MB / 1.232 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5223, allocations: 20.02 kB / 1.232 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009393/0.5317, allocations: 1.278 MB / 1.233 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002125/0.5339, allocations: 1.036 MB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.534, allocations: 102.7 kB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.5342, allocations: 132 kB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005343/0.5396, allocations: 2.201 MB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.5396, allocations: 0 / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.5398, allocations: 60 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.5398, allocations: 32 kB / 1.237 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007633/0.5475, allocations: 2.964 MB / 1.24 GB, free: 9.895 MB / 0.9981 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.009717/0.5572, allocations: 5.408 MB / 1.245 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007738/0.565, allocations: 2.888 MB / 1.248 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00304/0.5681, allocations: 1.122 MB / 1.249 GB, free: 324 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6806/1.249, allocations: 0.6109 MB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004689/1.253, allocations: 1.441 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 4.088e-06/1.253, allocations: 1.688 kB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01253/1.266, allocations: 3.629 MB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.266, allocations: 197.6 kB / 1.255 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/1.268, allocations: 0.8191 MB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/1.268, allocations: 54.05 kB / 1.255 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/1.268, allocations: 0.5159 MB / 1.256 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/1.269, allocations: 432 kB / 1.256 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/1.269, allocations: 269.5 kB / 1.257 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.269, allocations: 351.4 kB / 1.257 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/1.273, allocations: 1.055 MB / 1.258 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003163/1.276, allocations: 1.186 MB / 1.259 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/1.282, allocations: 2.064 MB / 1.261 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.282, allocations: 5.5 kB / 1.261 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007577/1.289, allocations: 2.478 MB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.289, allocations: 5.531 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.289, allocations: 3.25 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/1.29, allocations: 89.31 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/1.292, allocations: 433.2 kB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/1.294, allocations: 1.648 MB / 1.266 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/1.297, allocations: 291.2 kB / 1.266 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/1.297, allocations: 68.36 kB / 1.266 GB, free: 177.9 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,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.0007836/1.298, allocations: 361.5 kB / 1.266 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/1.298, allocations: 114.1 kB / 1.266 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008812/1.307, allocations: 2.874 MB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/1.307, allocations: 15.81 kB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.307, allocations: 5.469 kB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.307, allocations: 8.062 kB / 1.269 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/1.31, allocations: 1.799 MB / 1.271 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/1.31, allocations: 1.234 kB / 1.271 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002627/1.312, allocations: 419 kB / 1.271 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/1.313, allocations: 75 kB / 1.271 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/1.313, allocations: 51.64 kB / 1.272 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/1.315, allocations: 1.68 MB / 1.273 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.315, allocations: 0.7031 kB / 1.273 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007734/1.323, allocations: 2.575 MB / 1.276 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009385/1.323, allocations: 468.8 kB / 1.276 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/1.324, allocations: 32.92 kB / 1.276 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/1.326, allocations: 233.4 kB / 1.276 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.326, allocations: 110.8 kB / 1.277 GB, free: 173 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/1.326, allocations: 59.19 kB / 1.277 GB, free: 173 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000863/1.327, allocations: 0.5834 MB / 1.277 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.327, allocations: 0 / 1.277 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001514/1.329, allocations: 0.5122 MB / 1.278 GB, free: 172.7 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,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.001559/1.33, allocations: 0.6471 MB / 1.278 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009146/1.339, allocations: 3.111 MB / 1.281 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.339, allocations: 0 / 1.281 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003553/1.343, allocations: 1.396 MB / 1.283 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/1.345, allocations: 349.6 kB / 1.283 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006777/1.352, allocations: 3.648 MB / 1.287 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/1.352, allocations: 1.196 MB / 1.288 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002047/1.354, allocations: 494.6 kB / 1.288 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/1.355, allocations: 173.2 kB / 1.288 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.355, allocations: 0 / 1.288 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03908/1.394, allocations: 24.2 MB / 1.312 GB, free: 149.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches