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 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.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.001496/0.001496, allocations: 103 kB / 16.36 MB, free: 6.336 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.001614/0.001614, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.484/2.484, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 75.92 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2939, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007872/0.3018, allocations: 6.251 MB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6393/0.9412, allocations: 151.5 MB / 1.181 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.9423, allocations: 22.19 kB / 1.181 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.943, allocations: 234.2 kB / 1.181 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.9451, allocations: 0.7019 MB / 1.182 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.9473, allocations: 0.9856 MB / 1.183 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.9494, allocations: 2.064 MB / 1.185 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.9506, allocations: 0.8568 MB / 1.186 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009342/0.9516, allocations: 0.7281 MB / 1.186 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/0.9524, allocations: 0.7967 MB / 1.187 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.9527, allocations: 191.1 kB / 1.187 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.954, allocations: 0.6773 MB / 1.188 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.9544, allocations: 474.4 kB / 1.188 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007606/0.9552, allocations: 0.8654 MB / 1.189 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.9575, allocations: 2.462 MB / 1.192 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9575, allocations: 0 / 1.192 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.213e-06/0.9576, allocations: 0 / 1.192 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.9576, allocations: 3.984 kB / 1.192 GB, free: 13.88 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003361/0.961, allocations: 1.911 MB / 1.193 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.961, allocations: 8.25 kB / 1.193 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008717/0.9697, allocations: 1.293 MB / 1.195 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.9716, allocations: 1.051 MB / 1.196 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.598e-05/0.9717, allocations: 101.5 kB / 1.196 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.9719, allocations: 129.2 kB / 1.196 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/0.9768, allocations: 2.207 MB / 1.198 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.9769, allocations: 2.562 kB / 1.198 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.977, allocations: 55.94 kB / 1.198 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.9771, allocations: 31.53 kB / 1.198 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007201/0.9843, allocations: 2.972 MB / 1.201 GB, free: 8 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.009638/0.9939, allocations: 5.361 MB / 1.206 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007627/1.002, allocations: 2.882 MB / 1.209 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/1.005, allocations: 1.125 MB / 1.21 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/1.005, allocations: 0.6075 MB / 1.211 GB, free: 392 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003749/1.009, allocations: 1.461 MB / 1.212 GB, free: 14.9 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 3.297e-06/1.009, allocations: 0 / 1.212 GB, free: 14.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=133): time 0.01081/1.02, allocations: 3.629 MB / 1.216 GB, free: 11.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/1.02, allocations: 197.2 kB / 1.216 GB, free: 11.01 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.021, allocations: 0.8177 MB / 1.217 GB, free: 10.18 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/1.021, allocations: 49.7 kB / 1.217 GB, free: 10.13 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/1.022, allocations: 0.5045 MB / 1.217 GB, free: 9.617 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003803/1.022, allocations: 441.7 kB / 1.218 GB, free: 9.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005274/1.023, allocations: 270.6 kB / 1.218 GB, free: 8.906 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.023, allocations: 353.9 kB / 1.218 GB, free: 8.555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/1.026, allocations: 1.056 MB / 1.219 GB, free: 7.5 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/1.029, allocations: 1.187 MB / 1.221 GB, free: 6.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005764/1.035, allocations: 2.063 MB / 1.223 GB, free: 4.215 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.035, allocations: 0 / 1.223 GB, free: 4.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007226/1.042, allocations: 2.487 MB / 1.225 GB, free: 1.715 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.042, allocations: 8 kB / 1.225 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.042, allocations: 3.75 kB / 1.225 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/1.043, allocations: 92.77 kB / 1.225 GB, free: 1.613 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/1.045, allocations: 423.3 kB / 1.225 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/1.047, allocations: 1.652 MB / 1.227 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.05, allocations: 284 kB / 1.227 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/1.05, allocations: 63.92 kB / 1.227 GB, free: 15.06 MB / 0.9356 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.000771/1.051, allocations: 355.8 kB / 1.228 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/1.051, allocations: 118.5 kB / 1.228 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008001/1.059, allocations: 2.869 MB / 1.231 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.059, allocations: 20 kB / 1.231 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.059, allocations: 3.984 kB / 1.231 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.059, allocations: 3.984 kB / 1.231 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/1.062, allocations: 1.823 MB / 1.233 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.062, allocations: 0 / 1.233 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.064, allocations: 415.3 kB / 1.233 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/1.064, allocations: 76.78 kB / 1.233 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/1.065, allocations: 51.94 kB / 1.233 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/1.066, allocations: 1.674 MB / 1.235 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.066, allocations: 0 / 1.235 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007232/1.074, allocations: 2.576 MB / 1.237 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009769/1.075, allocations: 467.1 kB / 1.238 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/1.075, allocations: 31.94 kB / 1.238 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.077, allocations: 228.3 kB / 1.238 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/1.077, allocations: 101.2 kB / 1.238 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.077, allocations: 75.88 kB / 1.238 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008356/1.078, allocations: 0.5849 MB / 1.239 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/1.078, allocations: 0 / 1.239 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001463/1.08, allocations: 0.5068 MB / 1.239 GB, free: 2.852 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,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.001619/1.081, allocations: 0.637 MB / 1.24 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007033/1.088, allocations: 2.531 MB / 1.242 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.088, allocations: 4 kB / 1.242 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003672/1.092, allocations: 1.4 MB / 1.244 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/1.094, allocations: 356.5 kB / 1.244 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006436/1.101, allocations: 3.005 MB / 1.247 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/1.101, allocations: 1.191 MB / 1.248 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00174/1.103, allocations: 489.5 kB / 1.248 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006992/1.104, allocations: 175.2 kB / 1.249 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of SimCode: time 9.42e-07/1.104, allocations: 3.938 kB / 1.249 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of Templates: time 0.03746/1.141, allocations: 24.33 MB / 1.272 GB, free: 1.039 MB / 0.9669 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches