Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001922/0.001922, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.00198/0.00198, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.843/2.843, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.437e-05, allocations: 6.844 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009607/0.009641, allocations: 6.008 MB / 0.7922 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2208/0.2305, allocations: 147.2 MB / 0.936 GB, free: 3.137 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.2316, allocations: 23.81 kB / 0.936 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007805/0.2323, allocations: 245.7 kB / 0.9362 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.2348, allocations: 0.7336 MB / 0.9369 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.2375, allocations: 1.032 MB / 0.9379 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.2405, allocations: 2.173 MB / 0.9401 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.2419, allocations: 0.5527 MB / 0.9406 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.244, allocations: 1.142 MB / 0.9417 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.2451, allocations: 0.6622 MB / 0.9424 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003402/0.2455, allocations: 200 kB / 0.9426 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.247, allocations: 0.6867 MB / 0.9432 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005677/0.2476, allocations: 0.5024 MB / 0.9437 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0009195/0.2485, allocations: 0.6079 MB / 0.9443 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.2527, allocations: 2.726 MB / 0.947 GB, free: 7.785 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2527, allocations: 0 / 0.947 GB, free: 7.785 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2527, allocations: 0 / 0.947 GB, free: 7.785 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.447e-05/0.2527, allocations: 0 / 0.947 GB, free: 7.785 MB / 0.9011 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.004807/0.2575, allocations: 2.171 MB / 0.9491 GB, free: 5.566 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2576, allocations: 12.03 kB / 0.9491 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009331/0.2669, allocations: 1.259 MB / 0.9503 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.2695, allocations: 1.029 MB / 0.9513 GB, free: 3.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.2696, allocations: 110.8 kB / 0.9514 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.27, allocations: 140 kB / 0.9516 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005161/0.2751, allocations: 2.235 MB / 0.9538 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.2751, allocations: 8 kB / 0.9538 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.2753, allocations: 59.98 kB / 0.9538 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.2754, allocations: 35.94 kB / 0.9539 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006715/0.2821, allocations: 2.266 MB / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.2933, allocations: 5.006 MB / 0.961 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006542/0.2999, allocations: 1.975 MB / 0.9629 GB, free: 7.145 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002421/0.3023, allocations: 0.7433 MB / 0.9636 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/0.3027, allocations: 89.17 kB / 0.9637 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003156/0.3058, allocations: 1.272 MB / 0.9649 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=143): time 3.767e-06/0.3058, allocations: 0 / 0.9649 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of matching and sorting (n=143): time 0.009173/0.315, allocations: 2.539 MB / 0.9674 GB, free: 2.438 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.3152, allocations: 209.2 kB / 0.9676 GB, free: 2.191 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.3168, allocations: 0.9173 MB / 0.9685 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.317, allocations: 61.7 kB / 0.9686 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006648/0.3177, allocations: 0.6177 MB / 0.9692 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007078/0.3184, allocations: 0.5195 MB / 0.9697 GB, free: 40 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008474/0.3193, allocations: 345.1 kB / 0.97 GB, free: 15.69 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005089/0.3198, allocations: 0.6757 MB / 0.9707 GB, free: 15 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.3221, allocations: 0.687 MB / 0.9713 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.3249, allocations: 1.052 MB / 0.9724 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004639/0.3295, allocations: 1.481 MB / 0.9738 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3295, allocations: 0 / 0.9738 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006599/0.3361, allocations: 1.89 MB / 0.9757 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.3361, allocations: 7.938 kB / 0.9757 GB, free: 9.789 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3361, allocations: 0 / 0.9757 GB, free: 9.789 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3372, allocations: 143.6 kB / 0.9758 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.3395, allocations: 391.4 kB / 0.9762 GB, free: 9.262 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.3424, allocations: 2.051 MB / 0.9782 GB, free: 7.086 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.3444, allocations: 203.2 kB / 0.9784 GB, free: 6.887 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.3446, allocations: 68 kB / 0.9784 GB, free: 6.82 MB / 0.9323 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.000863/0.3455, allocations: 356.4 kB / 0.9788 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/0.3459, allocations: 163.3 kB / 0.9789 GB, free: 6.301 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007104/0.353, allocations: 2.172 MB / 0.9811 GB, free: 4.109 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.3531, allocations: 12 kB / 0.9811 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3531, allocations: 7.938 kB / 0.9811 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.3531, allocations: 7.969 kB / 0.9811 GB, free: 4.082 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.364, allocations: 3.911 MB / 0.9849 GB, free: 112 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.364, allocations: 3.938 kB / 0.9849 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/0.3661, allocations: 351.5 kB / 0.9852 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008285/0.3669, allocations: 123.6 kB / 0.9854 GB, free: 15.64 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/0.3671, allocations: 55.88 kB / 0.9854 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/0.3698, allocations: 2.078 MB / 0.9874 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3698, allocations: 3.984 kB / 0.9874 GB, free: 13.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006642/0.3765, allocations: 2.119 MB / 0.9895 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/0.3779, allocations: 374.6 kB / 0.9899 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/0.3782, allocations: 43.94 kB / 0.9899 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.3798, allocations: 139.8 kB / 0.9901 GB, free: 10.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/0.3801, allocations: 113.1 kB / 0.9902 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.3802, allocations: 67.94 kB / 0.9902 GB, free: 10.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000944/0.3812, allocations: 0.581 MB / 0.9908 GB, free: 9.918 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.3812, allocations: 0 / 0.9908 GB, free: 9.918 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001666/0.3829, allocations: 0.5417 MB / 0.9913 GB, free: 9.375 MB / 0.948 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.003699/0.3866, allocations: 0.7068 MB / 0.992 GB, free: 8.871 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006138/0.3927, allocations: 1.928 MB / 0.9939 GB, free: 6.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3927, allocations: 0 / 0.9939 GB, free: 6.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003182/0.3959, allocations: 1.144 MB / 0.995 GB, free: 5.766 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.3977, allocations: 418.7 kB / 0.9954 GB, free: 5.375 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.4045, allocations: 2.713 MB / 0.9981 GB, free: 2.613 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.4053, allocations: 0.6128 MB / 0.9987 GB, free: 1.973 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001718/0.407, allocations: 421.4 kB / 0.9991 GB, free: 1.559 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007524/0.4078, allocations: 176.4 kB / 0.9992 GB, free: 1.387 MB / 0.948 GB Notification: Performance of SimCode: time 1.272e-06/0.4078, allocations: 0 / 0.9992 GB, free: 1.387 MB / 0.948 GB Notification: Performance of Templates: time 0.04819/0.4559, allocations: 25.01 MB / 1.024 GB, free: 8.672 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.435066786012612]