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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001553/0.001553, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.002161/0.002161, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.56 kB / 0.8773 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2511, allocations: 153 MB / 1.027 GB, free: 2.148 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006863/0.258, allocations: 5.839 MB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6154/0.8734, allocations: 151.3 MB / 1.18 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.8745, allocations: 16.78 kB / 1.18 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.8752, allocations: 219.2 kB / 1.18 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.8771, allocations: 0.6605 MB / 1.181 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.8794, allocations: 0.9717 MB / 1.182 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.8815, allocations: 1.909 MB / 1.184 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.8827, allocations: 0.7603 MB / 1.185 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.8838, allocations: 0.6739 MB / 1.185 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.8849, allocations: 0.7425 MB / 1.186 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002665/0.8852, allocations: 162.8 kB / 1.186 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.8867, allocations: 0.6365 MB / 1.187 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004564/0.8872, allocations: 439.1 kB / 1.187 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008711/0.888, allocations: 0.778 MB / 1.188 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.8908, allocations: 2.203 MB / 1.19 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8908, allocations: 1.125 kB / 1.19 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8908, allocations: 0 / 1.19 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.686e-05/0.8908, allocations: 4 kB / 1.19 GB, free: 15.36 MB / 0.9044 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.003678/0.8945, allocations: 1.814 MB / 1.192 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.8946, allocations: 10.34 kB / 1.192 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008757/0.9033, allocations: 1.283 MB / 1.193 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.9054, allocations: 0.9633 MB / 1.194 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.298e-05/0.9055, allocations: 96.14 kB / 1.194 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.9058, allocations: 116.2 kB / 1.194 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004858/0.9106, allocations: 2.047 MB / 1.196 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.9107, allocations: 0 / 1.196 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.9108, allocations: 47.84 kB / 1.196 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.9109, allocations: 33.31 kB / 1.196 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007133/0.918, allocations: 2.757 MB / 1.199 GB, free: 9.879 MB / 0.9044 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.009978/0.928, allocations: 4.717 MB / 1.204 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/0.9355, allocations: 2.741 MB / 1.206 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002849/0.9384, allocations: 1.041 MB / 1.207 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.9391, allocations: 0.6102 MB / 1.208 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003555/0.9426, allocations: 1.352 MB / 1.209 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=132): time 6.422e-06/0.9427, allocations: 0 / 1.209 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of matching and sorting (n=132): time 0.01087/0.9535, allocations: 3.377 MB / 1.213 GB, free: 14.85 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.9537, allocations: 209.1 kB / 1.213 GB, free: 14.61 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.955, allocations: 0.7744 MB / 1.214 GB, free: 13.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.9552, allocations: 49.7 kB / 1.214 GB, free: 13.76 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.9556, allocations: 484.8 kB / 1.214 GB, free: 13.28 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000439/0.9561, allocations: 433.8 kB / 1.214 GB, free: 12.85 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005603/0.9566, allocations: 266.7 kB / 1.215 GB, free: 12.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.9568, allocations: 357.8 kB / 1.215 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/0.9599, allocations: 0.9626 MB / 1.216 GB, free: 11.27 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/0.963, allocations: 1.097 MB / 1.217 GB, free: 10.15 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005726/0.9687, allocations: 1.923 MB / 1.219 GB, free: 8.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.9687, allocations: 4.875 kB / 1.219 GB, free: 8.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007197/0.9759, allocations: 2.319 MB / 1.221 GB, free: 5.875 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.976, allocations: 11.94 kB / 1.221 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.976, allocations: 0 / 1.221 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.9766, allocations: 80.84 kB / 1.221 GB, free: 5.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.979, allocations: 435.3 kB / 1.222 GB, free: 5.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.9815, allocations: 1.652 MB / 1.223 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.9841, allocations: 286.7 kB / 1.224 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.9844, allocations: 67.88 kB / 1.224 GB, free: 3.207 MB / 0.92 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.0009314/0.9853, allocations: 328 kB / 1.224 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/0.9857, allocations: 110.7 kB / 1.224 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008033/0.9938, allocations: 2.723 MB / 1.227 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.9938, allocations: 12 kB / 1.227 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9938, allocations: 0 / 1.227 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/0.9938, allocations: 11.95 kB / 1.227 GB, free: 12 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009962/1.004, allocations: 4.306 MB / 1.231 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/1.004, allocations: 0 / 1.231 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.006, allocations: 415.3 kB / 1.231 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/1.007, allocations: 72.78 kB / 1.231 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.007, allocations: 55.94 kB / 1.231 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/1.009, allocations: 1.67 MB / 1.233 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.009, allocations: 0 / 1.233 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007229/1.016, allocations: 2.497 MB / 1.236 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009555/1.017, allocations: 419.2 kB / 1.236 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/1.017, allocations: 35.89 kB / 1.236 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.019, allocations: 228.4 kB / 1.236 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/1.02, allocations: 101.2 kB / 1.236 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.02, allocations: 63.94 kB / 1.236 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008459/1.021, allocations: 0.5498 MB / 1.237 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/1.021, allocations: 0 / 1.237 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001468/1.022, allocations: 0.5028 MB / 1.237 GB, free: 4.871 MB / 0.9356 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.001553/1.024, allocations: 0.6452 MB / 1.238 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006818/1.03, allocations: 2.348 MB / 1.24 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.031, allocations: 3.984 kB / 1.24 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003558/1.034, allocations: 1.31 MB / 1.242 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.036, allocations: 345 kB / 1.242 GB, free: 416 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/1.042, allocations: 2.809 MB / 1.245 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/1.043, allocations: 1.156 MB / 1.246 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001802/1.045, allocations: 485.1 kB / 1.246 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007032/1.046, allocations: 163.3 kB / 1.246 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of SimCode: time 6.22e-07/1.046, allocations: 4 kB / 1.246 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of Templates: time 0.03883/1.084, allocations: 23.13 MB / 1.269 GB, free: 4.777 MB / 0.9669 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 -s gbode -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/jenkins1/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