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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00124/0.00124, allocations: 109 kB / 16.41 MB, free: 6.461 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.001298/0.001298, allocations: 187 kB / 17.34 MB, free: 5.719 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.327/1.327, 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.1-master/package.mo): time 2.645/2.645, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 56.12 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9112/0.9127, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.00839/0.9211, allocations: 6.22 MB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1635/1.085, allocations: 151.6 MB / 1.375 GB, free: 3.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/1.086, allocations: 19.88 kB / 1.375 GB, free: 3.91 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009906/1.087, allocations: 229.8 kB / 1.375 GB, free: 3.684 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002391/1.09, allocations: 0.7121 MB / 1.376 GB, free: 2.969 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/1.092, allocations: 1.008 MB / 1.377 GB, free: 1.969 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002424/1.094, allocations: 2.045 MB / 1.379 GB, free: 15.92 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/1.095, allocations: 0.8641 MB / 1.38 GB, free: 15.02 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/1.097, allocations: 0.7476 MB / 1.38 GB, free: 14.27 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008546/1.097, allocations: 0.7937 MB / 1.381 GB, free: 13.47 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/1.098, allocations: 192 kB / 1.381 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/1.099, allocations: 0.6597 MB / 1.382 GB, free: 12.62 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/1.099, allocations: 490.6 kB / 1.383 GB, free: 12.14 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00075/1.1, allocations: 0.8553 MB / 1.383 GB, free: 11.29 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00284/1.103, allocations: 2.475 MB / 1.386 GB, free: 8.805 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.103, allocations: 0 / 1.386 GB, free: 8.805 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.094e-06/1.103, allocations: 4 kB / 1.386 GB, free: 8.801 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.275e-05/1.103, allocations: 0 / 1.386 GB, free: 8.801 MB / 1.107 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.003471/1.107, allocations: 1.906 MB / 1.388 GB, free: 6.832 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.107, allocations: 8.625 kB / 1.388 GB, free: 6.824 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009231/1.116, allocations: 1.29 MB / 1.389 GB, free: 5.531 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/1.118, allocations: 1.051 MB / 1.39 GB, free: 4.438 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/1.118, allocations: 106.7 kB / 1.39 GB, free: 4.332 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/1.118, allocations: 127.9 kB / 1.39 GB, free: 4.207 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005466/1.124, allocations: 2.209 MB / 1.392 GB, free: 1.938 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/1.124, allocations: 8 kB / 1.392 GB, free: 1.93 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/1.124, allocations: 52 kB / 1.392 GB, free: 1.879 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/1.124, allocations: 32 kB / 1.392 GB, free: 1.848 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007871/1.132, allocations: 2.964 MB / 1.395 GB, free: 14.88 MB / 1.123 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.009976/1.142, allocations: 5.349 MB / 1.401 GB, free: 9.363 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008452/1.151, allocations: 2.888 MB / 1.403 GB, free: 6.477 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/1.154, allocations: 1.136 MB / 1.404 GB, free: 5.34 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005972/1.155, allocations: 0.6104 MB / 1.405 GB, free: 4.598 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003985/1.159, allocations: 1.442 MB / 1.406 GB, free: 3.137 MB / 1.123 GB Notification: Performance of pre-optimization done (n=133): time 5.01e-06/1.159, allocations: 0 / 1.406 GB, free: 3.137 MB / 1.123 GB Notification: Performance of matching and sorting (n=133): time 0.01205/1.171, allocations: 3.633 MB / 1.41 GB, free: 15.47 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.171, allocations: 197.2 kB / 1.41 GB, free: 15.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.172, allocations: 0.8138 MB / 1.411 GB, free: 14.41 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/1.172, allocations: 49.7 kB / 1.411 GB, free: 14.36 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/1.173, allocations: 0.5161 MB / 1.412 GB, free: 13.84 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004952/1.173, allocations: 437.7 kB / 1.412 GB, free: 13.4 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00058/1.174, allocations: 270.7 kB / 1.412 GB, free: 13.13 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.174, allocations: 349.9 kB / 1.413 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.177, allocations: 1.049 MB / 1.414 GB, free: 11.73 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003442/1.181, allocations: 1.187 MB / 1.415 GB, free: 10.53 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006304/1.187, allocations: 2.075 MB / 1.417 GB, free: 8.434 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/1.187, allocations: 3.938 kB / 1.417 GB, free: 8.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007825/1.195, allocations: 2.479 MB / 1.419 GB, free: 5.938 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/1.195, allocations: 8 kB / 1.419 GB, free: 5.93 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.195, allocations: 0 / 1.419 GB, free: 5.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006724/1.196, allocations: 88.83 kB / 1.419 GB, free: 5.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/1.198, allocations: 431.3 kB / 1.42 GB, free: 5.418 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/1.201, allocations: 1.655 MB / 1.421 GB, free: 3.617 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/1.203, allocations: 285 kB / 1.422 GB, free: 3.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/1.204, allocations: 63.92 kB / 1.422 GB, free: 3.277 MB / 1.139 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.0009041/1.205, allocations: 355.8 kB / 1.422 GB, free: 2.922 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/1.205, allocations: 118.5 kB / 1.422 GB, free: 2.805 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008636/1.214, allocations: 2.876 MB / 1.425 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/1.214, allocations: 16 kB / 1.425 GB, free: 15.9 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.214, allocations: 0 / 1.425 GB, free: 15.9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/1.214, allocations: 7.969 kB / 1.425 GB, free: 15.89 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/1.216, allocations: 1.804 MB / 1.427 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.216, allocations: 0 / 1.427 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.219, allocations: 419.3 kB / 1.427 GB, free: 13.62 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/1.219, allocations: 72.78 kB / 1.427 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/1.219, allocations: 51.94 kB / 1.427 GB, free: 13.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/1.221, allocations: 1.674 MB / 1.429 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.221, allocations: 3.938 kB / 1.429 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008284/1.23, allocations: 2.58 MB / 1.431 GB, free: 9.07 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.231, allocations: 467 kB / 1.432 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004638/1.231, allocations: 31.91 kB / 1.432 GB, free: 8.562 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/1.233, allocations: 231.7 kB / 1.432 GB, free: 8.336 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/1.234, allocations: 101.2 kB / 1.432 GB, free: 8.238 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.234, allocations: 67.92 kB / 1.432 GB, free: 8.172 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009766/1.235, allocations: 0.581 MB / 1.433 GB, free: 7.598 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/1.235, allocations: 0 / 1.433 GB, free: 7.598 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001572/1.236, allocations: 0.5106 MB / 1.433 GB, free: 7.086 MB / 1.154 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.0017/1.238, allocations: 0.6527 MB / 1.434 GB, free: 6.609 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007553/1.246, allocations: 2.531 MB / 1.436 GB, free: 4.066 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.246, allocations: 0 / 1.436 GB, free: 4.066 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/1.25, allocations: 1.396 MB / 1.438 GB, free: 2.656 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/1.252, allocations: 355.9 kB / 1.438 GB, free: 2.324 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/1.259, allocations: 3.071 MB / 1.441 GB, free: 15.22 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.261, allocations: 1.187 MB / 1.442 GB, free: 14 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.262, allocations: 199.2 kB / 1.442 GB, free: 13.81 MB / 1.17 GB Notification: Performance of SimCode: time 3.257e-06/1.262, allocations: 0 / 1.442 GB, free: 13.81 MB / 1.17 GB Notification: Performance of Templates: time 0.04523/1.307, allocations: 30.86 MB / 1.473 GB, free: 15.03 MB / 1.201 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/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