Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002395/0.002395, allocations: 162.5 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.886/2.886, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 71.88 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.141, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008768/1.149, allocations: 5.615 MB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2082/1.357, allocations: 133.6 MB / 1.29 GB, free: 3.527 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/1.359, allocations: 25.75 kB / 1.29 GB, free: 3.516 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008957/1.36, allocations: 243.4 kB / 1.29 GB, free: 3.352 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003056/1.363, allocations: 0.7213 MB / 1.291 GB, free: 2.906 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002994/1.366, allocations: 1.016 MB / 1.292 GB, free: 2.344 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00351/1.369, allocations: 2.078 MB / 1.294 GB, free: 1.27 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/1.371, allocations: 0.5629 MB / 1.294 GB, free: 0.918 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/1.372, allocations: 0.7726 MB / 1.295 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/1.374, allocations: 0.72 MB / 1.296 GB, free: 208 kB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002977/1.374, allocations: 194.2 kB / 1.296 GB, free: 208 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/1.376, allocations: 0.685 MB / 1.297 GB, free: 52 kB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005583/1.376, allocations: 492 kB / 1.297 GB, free: 15.74 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00098/1.377, allocations: 0.6993 MB / 1.298 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004095/1.381, allocations: 2.544 MB / 1.3 GB, free: 13.88 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.381, allocations: 4 kB / 1.3 GB, free: 13.88 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.082e-06/1.381, allocations: 0.875 kB / 1.3 GB, free: 13.88 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.168e-05/1.381, allocations: 0 / 1.3 GB, free: 13.88 MB / 1.154 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.004463/1.386, allocations: 1.919 MB / 1.302 GB, free: 12.44 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.386, allocations: 10.25 kB / 1.302 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/1.397, allocations: 1.373 MB / 1.304 GB, free: 11.79 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/1.4, allocations: 1.009 MB / 1.305 GB, free: 11.01 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/1.4, allocations: 97.8 kB / 1.305 GB, free: 10.97 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/1.4, allocations: 129.9 kB / 1.305 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00631/1.407, allocations: 2.465 MB / 1.307 GB, free: 9.266 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/1.407, allocations: 0 / 1.307 GB, free: 9.266 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/1.407, allocations: 57.06 kB / 1.307 GB, free: 9.223 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/1.407, allocations: 32.06 kB / 1.307 GB, free: 9.223 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009017/1.416, allocations: 2.92 MB / 1.31 GB, free: 7.727 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/1.427, allocations: 4.306 MB / 1.314 GB, free: 4.238 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008765/1.436, allocations: 2.791 MB / 1.317 GB, free: 1.441 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003374/1.439, allocations: 1.082 MB / 1.318 GB, free: 364 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/1.439, allocations: 78.3 kB / 1.318 GB, free: 284 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004002/1.443, allocations: 1.542 MB / 1.32 GB, free: 14.69 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 5.521e-06/1.443, allocations: 3.984 kB / 1.32 GB, free: 14.69 MB / 1.17 GB Notification: Performance of matching and sorting (n=133): time 0.01226/1.456, allocations: 3.554 MB / 1.323 GB, free: 11.12 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.456, allocations: 197.2 kB / 1.323 GB, free: 10.89 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.457, allocations: 0.7233 MB / 1.324 GB, free: 10.15 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/1.457, allocations: 53.7 kB / 1.324 GB, free: 10.09 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/1.458, allocations: 0.5329 MB / 1.325 GB, free: 9.551 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004773/1.458, allocations: 460.1 kB / 1.325 GB, free: 9.098 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005219/1.459, allocations: 270.8 kB / 1.325 GB, free: 8.828 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.00023/1.459, allocations: 410.7 kB / 1.326 GB, free: 8.418 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/1.462, allocations: 1.052 MB / 1.327 GB, free: 7.363 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00372/1.466, allocations: 1.337 MB / 1.328 GB, free: 5.973 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006865/1.473, allocations: 2.075 MB / 1.33 GB, free: 3.879 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.473, allocations: 0 / 1.33 GB, free: 3.879 MB / 1.17 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008507/1.482, allocations: 2.48 MB / 1.332 GB, free: 1.387 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.482, allocations: 11.98 kB / 1.332 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.482, allocations: 0 / 1.332 GB, free: 1.375 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/1.482, allocations: 84.84 kB / 1.333 GB, free: 1.289 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.485, allocations: 431.3 kB / 1.333 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/1.487, allocations: 1.516 MB / 1.334 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/1.49, allocations: 267.1 kB / 1.335 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/1.49, allocations: 71.92 kB / 1.335 GB, free: 14.91 MB / 1.186 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.0008897/1.491, allocations: 364.4 kB / 1.335 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/1.491, allocations: 111.3 kB / 1.335 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008999/1.5, allocations: 2.875 MB / 1.338 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.5, allocations: 15.94 kB / 1.338 GB, free: 11.54 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.5, allocations: 4 kB / 1.338 GB, free: 11.53 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/1.5, allocations: 7.969 kB / 1.338 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/1.503, allocations: 1.305 MB / 1.339 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.503, allocations: 0 / 1.339 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002514/1.506, allocations: 415.4 kB / 1.34 GB, free: 9.781 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004783/1.506, allocations: 72.78 kB / 1.34 GB, free: 9.707 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/1.506, allocations: 47.94 kB / 1.34 GB, free: 9.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/1.508, allocations: 1.54 MB / 1.341 GB, free: 8.012 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.508, allocations: 64 / 1.341 GB, free: 8.012 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008653/1.517, allocations: 2.581 MB / 1.344 GB, free: 5.406 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.518, allocations: 386.6 kB / 1.344 GB, free: 5.027 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/1.518, allocations: 31.94 kB / 1.344 GB, free: 4.996 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.521, allocations: 231.7 kB / 1.344 GB, free: 4.77 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/1.521, allocations: 109.1 kB / 1.345 GB, free: 4.664 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.521, allocations: 63.92 kB / 1.345 GB, free: 4.602 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008251/1.522, allocations: 0.5146 MB / 1.345 GB, free: 4.09 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.522, allocations: 0 / 1.345 GB, free: 4.09 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001797/1.524, allocations: 0.5339 MB / 1.346 GB, free: 3.555 MB / 1.186 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.002349/1.526, allocations: 0.6874 MB / 1.346 GB, free: 3.07 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008225/1.534, allocations: 2.477 MB / 1.349 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.534, allocations: 0 / 1.349 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004251/1.538, allocations: 1.353 MB / 1.35 GB, free: 15.21 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/1.54, allocations: 328 kB / 1.35 GB, free: 14.91 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007574/1.548, allocations: 3.057 MB / 1.353 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/1.548, allocations: 0.6139 MB / 1.354 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00182/1.55, allocations: 484.8 kB / 1.354 GB, free: 10.69 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/1.551, allocations: 168.3 kB / 1.355 GB, free: 10.53 MB / 1.201 GB Notification: Performance of SimCode: time 1.783e-06/1.551, allocations: 0 / 1.355 GB, free: 10.53 MB / 1.201 GB Notification: Performance of Templates: time 0.04301/1.594, allocations: 24.36 MB / 1.378 GB, free: 2.461 MB / 1.217 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.957343754940666]