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.001271/0.001271, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001259/0.001259, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.684/2.684, allocations: 482.4 MB / 0.7553 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 60.61 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7842, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008361/0.7926, allocations: 6.242 MB / 1.089 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1898/0.9824, allocations: 151.6 MB / 1.237 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.9835, allocations: 19.94 kB / 1.237 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.9842, allocations: 233.7 kB / 1.237 GB, free: 376 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.9863, allocations: 0.6984 MB / 1.238 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.9888, allocations: 0.9916 MB / 1.239 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.9913, allocations: 2.045 MB / 1.241 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001278/0.9926, allocations: 0.8525 MB / 1.242 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.9937, allocations: 0.732 MB / 1.242 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009714/0.9946, allocations: 0.8015 MB / 1.243 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.9949, allocations: 192 kB / 1.243 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.9962, allocations: 0.6402 MB / 1.244 GB, free: 9.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.9967, allocations: 482.6 kB / 1.244 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008726/0.9976, allocations: 0.8515 MB / 1.245 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/1, allocations: 2.415 MB / 1.248 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1, allocations: 0 / 1.248 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/1, allocations: 0 / 1.248 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.826e-05/1, allocations: 0 / 1.248 GB, free: 5.621 MB / 0.9669 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.003589/1.004, allocations: 1.91 MB / 1.25 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/1.004, allocations: 11.97 kB / 1.25 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009577/1.014, allocations: 1.286 MB / 1.251 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/1.016, allocations: 1.032 MB / 1.252 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/1.016, allocations: 102.7 kB / 1.252 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/1.016, allocations: 136 kB / 1.252 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005737/1.022, allocations: 2.209 MB / 1.254 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/1.022, allocations: 0 / 1.254 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/1.022, allocations: 56 kB / 1.254 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/1.022, allocations: 32 kB / 1.254 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008565/1.031, allocations: 2.968 MB / 1.257 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/1.041, allocations: 5.555 MB / 1.263 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008945/1.05, allocations: 2.88 MB / 1.265 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003536/1.053, allocations: 1.125 MB / 1.267 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000663/1.054, allocations: 0.6183 MB / 1.267 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004043/1.058, allocations: 1.438 MB / 1.269 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 2.625e-06/1.058, allocations: 3.938 kB / 1.269 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01235/1.07, allocations: 3.625 MB / 1.272 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/1.071, allocations: 201.2 kB / 1.272 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/1.072, allocations: 0.8138 MB / 1.273 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/1.072, allocations: 49.7 kB / 1.273 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/1.073, allocations: 0.5085 MB / 1.274 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/1.073, allocations: 441.6 kB / 1.274 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005245/1.074, allocations: 270.7 kB / 1.274 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.074, allocations: 353.9 kB / 1.275 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003625/1.077, allocations: 1.056 MB / 1.276 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0037/1.081, allocations: 1.187 MB / 1.277 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006871/1.088, allocations: 2.063 MB / 1.279 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/1.088, allocations: 3.938 kB / 1.279 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008334/1.096, allocations: 2.479 MB / 1.281 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.096, allocations: 4 kB / 1.281 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.096, allocations: 4 kB / 1.281 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/1.097, allocations: 84.83 kB / 1.281 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/1.1, allocations: 435.3 kB / 1.282 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.102, allocations: 1.656 MB / 1.283 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.104, allocations: 290.6 kB / 1.284 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/1.105, allocations: 67.92 kB / 1.284 GB, free: 15.88 MB / 1.014 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.000871/1.106, allocations: 356.4 kB / 1.284 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/1.106, allocations: 122.5 kB / 1.284 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009389/1.115, allocations: 2.88 MB / 1.287 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.115, allocations: 16 kB / 1.287 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.115, allocations: 0 / 1.287 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/1.115, allocations: 3.984 kB / 1.287 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/1.118, allocations: 1.819 MB / 1.289 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/1.118, allocations: 0 / 1.289 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/1.121, allocations: 415.3 kB / 1.289 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/1.121, allocations: 72.78 kB / 1.289 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/1.121, allocations: 51.94 kB / 1.289 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/1.124, allocations: 1.681 MB / 1.291 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.124, allocations: 0 / 1.291 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008442/1.132, allocations: 2.572 MB / 1.293 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/1.133, allocations: 475 kB / 1.294 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/1.133, allocations: 28 kB / 1.294 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002198/1.136, allocations: 227.7 kB / 1.294 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.136, allocations: 101.2 kB / 1.294 GB, free: 4.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/1.136, allocations: 59.94 kB / 1.294 GB, free: 4.773 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009562/1.137, allocations: 0.5888 MB / 1.295 GB, free: 4.188 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.137, allocations: 0 / 1.295 GB, free: 4.188 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00147/1.138, allocations: 0.5068 MB / 1.295 GB, free: 3.68 MB / 1.014 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.002158/1.141, allocations: 0.644 MB / 1.296 GB, free: 3.211 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.151, allocations: 3.117 MB / 1.299 GB, free: 80 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.151, allocations: 0 / 1.299 GB, free: 80 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004285/1.155, allocations: 1.392 MB / 1.3 GB, free: 14.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/1.157, allocations: 356 kB / 1.301 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/1.165, allocations: 3.102 MB / 1.304 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.166, allocations: 1.191 MB / 1.305 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.167, allocations: 207.2 kB / 1.305 GB, free: 9.785 MB / 1.029 GB Notification: Performance of SimCode: time 9.11e-07/1.167, allocations: 0 / 1.305 GB, free: 9.785 MB / 1.029 GB Notification: Performance of Templates: time 0.04426/1.211, allocations: 30.71 MB / 1.335 GB, free: 11.15 MB / 1.061 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=400 -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