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.001576/0.001576, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001783/0.001783, allocations: 191 kB / 17.29 MB, free: 5.516 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 76.62 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3147, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007837/0.3226, allocations: 6.247 MB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7696/1.092, allocations: 151.5 MB / 1.181 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/1.094, allocations: 26 kB / 1.181 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008347/1.095, allocations: 231.7 kB / 1.181 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002748/1.098, allocations: 0.688 MB / 1.182 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/1.101, allocations: 1.006 MB / 1.183 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002687/1.103, allocations: 2.056 MB / 1.185 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/1.105, allocations: 0.8493 MB / 1.186 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/1.106, allocations: 0.7285 MB / 1.186 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/1.107, allocations: 0.8111 MB / 1.187 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/1.107, allocations: 191.9 kB / 1.187 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/1.109, allocations: 0.6649 MB / 1.188 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004193/1.109, allocations: 483.1 kB / 1.188 GB, free: 320 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008881/1.11, allocations: 0.8531 MB / 1.189 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/1.113, allocations: 2.47 MB / 1.192 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.113, allocations: 0 / 1.192 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.434e-06/1.113, allocations: 0 / 1.192 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.686e-05/1.113, allocations: 1.219 kB / 1.192 GB, free: 13.91 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.004159/1.117, allocations: 1.909 MB / 1.193 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.117, allocations: 9.625 kB / 1.193 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009331/1.127, allocations: 1.289 MB / 1.195 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/1.129, allocations: 1.054 MB / 1.196 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/1.13, allocations: 100.3 kB / 1.196 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/1.13, allocations: 129.8 kB / 1.196 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/1.135, allocations: 2.214 MB / 1.198 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/1.136, allocations: 0 / 1.198 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/1.136, allocations: 58.72 kB / 1.198 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/1.136, allocations: 30.38 kB / 1.198 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007877/1.144, allocations: 2.966 MB / 1.201 GB, free: 8.027 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.01065/1.154, allocations: 5.369 MB / 1.206 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007891/1.162, allocations: 2.878 MB / 1.209 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/1.166, allocations: 1.129 MB / 1.21 GB, free: 1.156 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/1.166, allocations: 0.6116 MB / 1.211 GB, free: 424 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003655/1.17, allocations: 1.446 MB / 1.212 GB, free: 14.95 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 3.857e-06/1.17, allocations: 0 / 1.212 GB, free: 14.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=133): time 0.01108/1.181, allocations: 3.629 MB / 1.216 GB, free: 11.29 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.181, allocations: 197.2 kB / 1.216 GB, free: 11.05 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/1.182, allocations: 0.8099 MB / 1.217 GB, free: 10.23 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/1.183, allocations: 53.7 kB / 1.217 GB, free: 10.18 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/1.183, allocations: 0.5123 MB / 1.217 GB, free: 9.656 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/1.183, allocations: 433.7 kB / 1.218 GB, free: 9.227 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000542/1.184, allocations: 274.6 kB / 1.218 GB, free: 8.949 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.184, allocations: 361.9 kB / 1.218 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/1.187, allocations: 1.045 MB / 1.219 GB, free: 7.547 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/1.19, allocations: 1.195 MB / 1.221 GB, free: 6.332 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005932/1.196, allocations: 2.067 MB / 1.223 GB, free: 4.25 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.196, allocations: 0 / 1.223 GB, free: 4.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007415/1.204, allocations: 2.487 MB / 1.225 GB, free: 1.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.204, allocations: 4 kB / 1.225 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.204, allocations: 3.75 kB / 1.225 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/1.204, allocations: 84.84 kB / 1.225 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/1.207, allocations: 435.3 kB / 1.225 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/1.209, allocations: 1.641 MB / 1.227 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/1.212, allocations: 286.7 kB / 1.227 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/1.212, allocations: 67.92 kB / 1.227 GB, free: 15.1 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.0008433/1.213, allocations: 351.7 kB / 1.228 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/1.213, allocations: 122.5 kB / 1.228 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008039/1.221, allocations: 2.874 MB / 1.231 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.221, allocations: 16 kB / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.221, allocations: 0 / 1.231 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.221, allocations: 7.969 kB / 1.231 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/1.224, allocations: 1.823 MB / 1.232 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.224, allocations: 0 / 1.232 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/1.226, allocations: 411.3 kB / 1.233 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/1.227, allocations: 72.78 kB / 1.233 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/1.227, allocations: 51.94 kB / 1.233 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/1.229, allocations: 1.67 MB / 1.235 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.229, allocations: 4.812 kB / 1.235 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007594/1.236, allocations: 2.58 MB / 1.237 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.238, allocations: 467.1 kB / 1.238 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/1.238, allocations: 35.92 kB / 1.238 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/1.24, allocations: 227.7 kB / 1.238 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/1.24, allocations: 105.2 kB / 1.238 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.24, allocations: 59.94 kB / 1.238 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008435/1.241, allocations: 0.581 MB / 1.239 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.241, allocations: 0 / 1.239 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001531/1.243, allocations: 0.5068 MB / 1.239 GB, free: 2.906 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.001634/1.244, allocations: 0.658 MB / 1.24 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007168/1.251, allocations: 2.527 MB / 1.242 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.251, allocations: 0 / 1.242 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003745/1.255, allocations: 1.403 MB / 1.244 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.257, allocations: 359.5 kB / 1.244 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/1.264, allocations: 3.007 MB / 1.247 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.265, allocations: 1.183 MB / 1.248 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002229/1.267, allocations: 485.5 kB / 1.248 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006872/1.268, allocations: 175.2 kB / 1.249 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of SimCode: time 1.823e-06/1.268, allocations: 4 kB / 1.249 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of Templates: time 0.04132/1.309, allocations: 24.34 MB / 1.272 GB, free: 1.078 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 cvode -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