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.001958/0.001958, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002111/0.002111, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.044/3.044, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.601e-05, allocations: 2.875 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009762/0.009788, allocations: 6.016 MB / 0.8166 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2103/0.2201, allocations: 147.2 MB / 0.9604 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009479/0.2211, allocations: 35.75 kB / 0.9604 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007076/0.2218, allocations: 245.6 kB / 0.9607 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.2241, allocations: 0.7259 MB / 0.9614 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.2267, allocations: 1.04 MB / 0.9624 GB, free: 6.359 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.2294, allocations: 2.169 MB / 0.9645 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.2305, allocations: 0.5566 MB / 0.9651 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.2322, allocations: 1.142 MB / 0.9662 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.2332, allocations: 0.6467 MB / 0.9668 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003268/0.2335, allocations: 204 kB / 0.967 GB, free: 1.594 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.235, allocations: 0.6944 MB / 0.9677 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006729/0.2356, allocations: 0.4984 MB / 0.9682 GB, free: 408 kB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007871/0.2364, allocations: 0.6001 MB / 0.9687 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.2401, allocations: 2.734 MB / 0.9714 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.2401, allocations: 7.984 kB / 0.9714 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2401, allocations: 0 / 0.9714 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.2401, allocations: 0 / 0.9714 GB, free: 13.05 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.005009/0.2451, allocations: 2.171 MB / 0.9735 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.2452, allocations: 8.031 kB / 0.9736 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009475/0.2547, allocations: 1.263 MB / 0.9748 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.2576, allocations: 1.021 MB / 0.9758 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.2577, allocations: 110.8 kB / 0.9759 GB, free: 8.391 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002795/0.258, allocations: 144 kB / 0.976 GB, free: 8.25 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005088/0.2631, allocations: 2.239 MB / 0.9782 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.2631, allocations: 0 / 0.9782 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.2633, allocations: 56 kB / 0.9783 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.2633, allocations: 32 kB / 0.9783 GB, free: 5.793 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006384/0.2697, allocations: 2.258 MB / 0.9805 GB, free: 3.527 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.2817, allocations: 5.025 MB / 0.9854 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006511/0.2882, allocations: 1.964 MB / 0.9873 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.2907, allocations: 0.7414 MB / 0.9881 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/0.2911, allocations: 89.22 kB / 0.9881 GB, free: 11.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003514/0.2947, allocations: 1.273 MB / 0.9894 GB, free: 10.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 4.869e-06/0.2947, allocations: 0 / 0.9894 GB, free: 10.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=143): time 0.009758/0.3044, allocations: 2.539 MB / 0.9919 GB, free: 7.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002083/0.3046, allocations: 209.2 kB / 0.9921 GB, free: 7.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/0.3065, allocations: 0.9174 MB / 0.993 GB, free: 6.547 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.3067, allocations: 61.64 kB / 0.993 GB, free: 6.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007765/0.3075, allocations: 0.6177 MB / 0.9936 GB, free: 5.852 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006837/0.3082, allocations: 0.5117 MB / 0.9941 GB, free: 5.336 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007766/0.309, allocations: 349.1 kB / 0.9944 GB, free: 4.984 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005246/0.3095, allocations: 0.6719 MB / 0.9951 GB, free: 4.301 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/0.312, allocations: 0.687 MB / 0.9958 GB, free: 3.613 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/0.315, allocations: 1.059 MB / 0.9968 GB, free: 2.496 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004988/0.32, allocations: 1.477 MB / 0.9983 GB, free: 1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.32, allocations: 4 kB / 0.9983 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00675/0.3268, allocations: 1.886 MB / 1 GB, free: 15.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3268, allocations: 7.938 kB / 1 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3268, allocations: 4 kB / 1 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.3279, allocations: 139.6 kB / 1 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.3303, allocations: 395.4 kB / 1.001 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.3332, allocations: 2.038 MB / 1.003 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.3352, allocations: 207.1 kB / 1.003 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002718/0.3355, allocations: 67.94 kB / 1.003 GB, free: 12.12 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (167): * Single equations (assignments): 166 * 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.001177/0.3367, allocations: 344.2 kB / 1.003 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006643/0.3374, allocations: 159.3 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007641/0.345, allocations: 2.18 MB / 1.005 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.345, allocations: 16 kB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.345, allocations: 3.938 kB / 1.006 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.3451, allocations: 7.969 kB / 1.006 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.3561, allocations: 3.919 MB / 1.009 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3561, allocations: 0 / 1.009 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00222/0.3583, allocations: 355.4 kB / 1.01 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008681/0.3592, allocations: 127.6 kB / 1.01 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.3594, allocations: 51.94 kB / 1.01 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.3623, allocations: 2.078 MB / 1.012 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3623, allocations: 0 / 1.012 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006773/0.369, allocations: 2.119 MB / 1.014 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.3702, allocations: 382.6 kB / 1.014 GB, free: 152 kB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/0.3705, allocations: 39.94 kB / 1.014 GB, free: 112 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.3723, allocations: 146 kB / 1.014 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.3726, allocations: 117 kB / 1.015 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.3727, allocations: 63.94 kB / 1.015 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001065/0.3738, allocations: 0.5771 MB / 1.015 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.3738, allocations: 0 / 1.015 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001783/0.3756, allocations: 0.5455 MB / 1.016 GB, free: 14.67 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,weaDat.conTimMin.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.003838/0.3794, allocations: 0.7115 MB / 1.016 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006369/0.3858, allocations: 1.928 MB / 1.018 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3858, allocations: 0 / 1.018 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003541/0.3893, allocations: 1.143 MB / 1.019 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.3918, allocations: 417.1 kB / 1.02 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007001/0.3988, allocations: 2.718 MB / 1.023 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008979/0.3997, allocations: 0.6107 MB / 1.023 GB, free: 7.262 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001883/0.4016, allocations: 417.4 kB / 1.023 GB, free: 6.852 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/0.4024, allocations: 184.3 kB / 1.024 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of SimCode: time 2.014e-06/0.4024, allocations: 0 / 1.024 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of Templates: time 0.3929/0.7953, allocations: 25.01 MB / 1.048 GB, free: 271.5 MB / 0.9948 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 240] 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/jenkins/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.117428541998379]