Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.00171/0.00171, allocations: 107 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.002281/0.002281, allocations: 195.3 kB / 17.29 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.31 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2799, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006949/0.2869, allocations: 5.256 MB / 0.9562 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8111/1.098, allocations: 151.4 MB / 1.104 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/1.099, allocations: 21.95 kB / 1.104 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005832/1.1, allocations: 201.7 kB / 1.104 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/1.102, allocations: 0.6124 MB / 1.105 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/1.104, allocations: 0.9847 MB / 1.106 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002508/1.107, allocations: 1.887 MB / 1.108 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/1.108, allocations: 0.9066 MB / 1.109 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/1.109, allocations: 0.7099 MB / 1.109 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/1.11, allocations: 0.7683 MB / 1.11 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003022/1.111, allocations: 193.6 kB / 1.11 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/1.112, allocations: 0.6611 MB / 1.111 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005064/1.113, allocations: 491 kB / 1.111 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000924/1.114, allocations: 0.8173 MB / 1.112 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003445/1.117, allocations: 2.411 MB / 1.115 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.117, allocations: 3.938 kB / 1.115 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/1.117, allocations: 0.9375 kB / 1.115 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.025e-05/1.117, allocations: 0.8906 kB / 1.115 GB, free: 3.812 MB / 0.8575 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.003787/1.121, allocations: 1.879 MB / 1.116 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.121, allocations: 13.47 kB / 1.116 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009016/1.13, allocations: 1.288 MB / 1.118 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/1.132, allocations: 1.049 MB / 1.119 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/1.132, allocations: 106.4 kB / 1.119 GB, free: 18.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/1.132, allocations: 131.7 kB / 1.119 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005079/1.137, allocations: 2.213 MB / 1.121 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/1.137, allocations: 0 / 1.121 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/1.138, allocations: 59.47 kB / 1.121 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/1.138, allocations: 32.72 kB / 1.121 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007892/1.145, allocations: 2.966 MB / 1.124 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/1.156, allocations: 5.029 MB / 1.129 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007689/1.163, allocations: 2.882 MB / 1.132 GB, free: 16.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003003/1.166, allocations: 1.127 MB / 1.133 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/1.167, allocations: 0.6084 MB / 1.133 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003505/1.17, allocations: 1.45 MB / 1.135 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 3.376e-06/1.17, allocations: 0 / 1.135 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133): time 0.01035/1.181, allocations: 3.617 MB / 1.138 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/1.181, allocations: 199 kB / 1.139 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/1.182, allocations: 0.8212 MB / 1.139 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001672/1.182, allocations: 52.33 kB / 1.139 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/1.183, allocations: 0.5089 MB / 1.14 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/1.183, allocations: 435.6 kB / 1.14 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005254/1.184, allocations: 271.5 kB / 1.141 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.184, allocations: 348.9 kB / 1.141 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/1.187, allocations: 1.052 MB / 1.142 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003597/1.19, allocations: 1.184 MB / 1.143 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006322/1.197, allocations: 2.067 MB / 1.145 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.197, allocations: 0 / 1.145 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007563/1.204, allocations: 2.473 MB / 1.148 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.204, allocations: 5.688 kB / 1.148 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.204, allocations: 5.219 kB / 1.148 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/1.205, allocations: 83.89 kB / 1.148 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/1.207, allocations: 438.8 kB / 1.148 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/1.209, allocations: 1.639 MB / 1.15 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/1.212, allocations: 284.2 kB / 1.15 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/1.212, allocations: 71.14 kB / 1.15 GB, free: 8.438 MB / 0.8731 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.0009891/1.213, allocations: 354.6 kB / 1.15 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/1.214, allocations: 115.4 kB / 1.15 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007965/1.222, allocations: 2.886 MB / 1.153 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/1.222, allocations: 15.12 kB / 1.153 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.222, allocations: 0 / 1.153 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.222, allocations: 3.984 kB / 1.153 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/1.224, allocations: 1.816 MB / 1.155 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.224, allocations: 2.062 kB / 1.155 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/1.227, allocations: 419.9 kB / 1.155 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/1.227, allocations: 72.62 kB / 1.156 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/1.227, allocations: 49.44 kB / 1.156 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.229, allocations: 1.667 MB / 1.157 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.229, allocations: 0 / 1.157 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007279/1.236, allocations: 2.582 MB / 1.16 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.238, allocations: 470.5 kB / 1.16 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/1.238, allocations: 27.78 kB / 1.16 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.24, allocations: 233 kB / 1.16 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/1.24, allocations: 99.42 kB / 1.161 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/1.24, allocations: 63.19 kB / 1.161 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008358/1.241, allocations: 0.5854 MB / 1.161 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.054e-06/1.241, allocations: 0 / 1.161 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001593/1.243, allocations: 0.4986 MB / 1.162 GB, free: 0.9453 MB / 0.8731 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.001505/1.244, allocations: 0.6512 MB / 1.162 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006887/1.251, allocations: 2.524 MB / 1.165 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.251, allocations: 0 / 1.165 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.003662/1.255, allocations: 1.404 MB / 1.166 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/1.257, allocations: 326.2 kB / 1.166 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007279/1.264, allocations: 3.119 MB / 1.169 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/1.265, allocations: 1.19 MB / 1.171 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00192/1.266, allocations: 490.5 kB / 1.171 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/1.267, allocations: 172.7 kB / 1.171 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of SimCode: time 9.92e-07/1.267, allocations: 4 kB / 1.171 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of Templates: time 0.03926/1.306, allocations: 23.64 MB / 1.194 GB, free: 12.25 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches