Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.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.001881/0.001881, allocations: 83.69 kB / 20.24 MB, free: 4.188 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.002004/0.002004, allocations: 161.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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.324 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.933/2.933, allocations: 359 MB / 0.6048 GB, free: 10.93 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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/2.98e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008989/0.009019, allocations: 5.604 MB / 0.7919 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2173/0.2264, allocations: 147 MB / 0.9354 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.2275, allocations: 27.81 kB / 0.9354 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0009407/0.2284, allocations: 225.8 kB / 0.9356 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.2313, allocations: 0.6949 MB / 0.9363 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.2341, allocations: 1.009 MB / 0.9373 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.2371, allocations: 2.014 MB / 0.9393 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.2384, allocations: 0.4953 MB / 0.9398 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.2405, allocations: 1.041 MB / 0.9408 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.2418, allocations: 0.6116 MB / 0.9414 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0004533/0.2422, allocations: 172 kB / 0.9415 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.2439, allocations: 0.6593 MB / 0.9422 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005194/0.2444, allocations: 470.5 kB / 0.9426 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0007997/0.2452, allocations: 0.5455 MB / 0.9432 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003755/0.2489, allocations: 2.449 MB / 0.9456 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2489, allocations: 0 / 0.9456 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.413e-06/0.249, allocations: 0 / 0.9456 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.841e-05/0.249, allocations: 0 / 0.9456 GB, free: 9.219 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.004037/0.253, allocations: 2.048 MB / 0.9476 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.2531, allocations: 8.031 kB / 0.9476 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009179/0.2622, allocations: 1.255 MB / 0.9488 GB, free: 5.855 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.2646, allocations: 0.9471 MB / 0.9497 GB, free: 4.871 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.2647, allocations: 102.6 kB / 0.9498 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.265, allocations: 132 kB / 0.9499 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005038/0.27, allocations: 2.09 MB / 0.952 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.27, allocations: 0 / 0.952 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.2702, allocations: 55.98 kB / 0.952 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.2702, allocations: 28 kB / 0.9521 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006009/0.2762, allocations: 2.14 MB / 0.9541 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01039/0.2866, allocations: 4.475 MB / 0.9585 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005981/0.2926, allocations: 1.851 MB / 0.9603 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/0.2949, allocations: 0.7179 MB / 0.961 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.2953, allocations: 89.22 kB / 0.9611 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003098/0.2984, allocations: 1.218 MB / 0.9623 GB, free: 7.672 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=142): time 3.897e-06/0.2984, allocations: 4 kB / 0.9623 GB, free: 7.668 MB / 0.9167 GB Notification: Performance of matching and sorting (n=142): time 0.009279/0.3077, allocations: 2.433 MB / 0.9647 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.3078, allocations: 205.2 kB / 0.9649 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/0.3093, allocations: 0.8666 MB / 0.9657 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.3095, allocations: 61.7 kB / 0.9658 GB, free: 4.031 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.3101, allocations: 0.5748 MB / 0.9663 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006461/0.3108, allocations: 0.5038 MB / 0.9668 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000702/0.3115, allocations: 337.2 kB / 0.9672 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004814/0.312, allocations: 0.6678 MB / 0.9678 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.3143, allocations: 0.648 MB / 0.9684 GB, free: 1.273 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.317, allocations: 1.016 MB / 0.9694 GB, free: 200 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/0.3218, allocations: 1.407 MB / 0.9708 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3218, allocations: 0 / 0.9708 GB, free: 14.76 MB / 0.9323 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006578/0.3284, allocations: 1.816 MB / 0.9726 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3284, allocations: 8 kB / 0.9726 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3284, allocations: 0 / 0.9726 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.3295, allocations: 147.6 kB / 0.9727 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/0.3318, allocations: 383.4 kB / 0.9731 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.3346, allocations: 2.057 MB / 0.9751 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.3365, allocations: 199.2 kB / 0.9753 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.3367, allocations: 71.92 kB / 0.9754 GB, free: 9.957 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,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,incAng.decAng.k,$PRE.incAng.decAng.k,incAng.decAng.tNext,$PRE.incAng.decAng.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 (166): * Single equations (assignments): 165 * 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.0007836/0.3375, allocations: 328.3 kB / 0.9757 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005125/0.338, allocations: 159.3 kB / 0.9758 GB, free: 9.469 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007469/0.3455, allocations: 2.105 MB / 0.9779 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.3455, allocations: 16 kB / 0.9779 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3455, allocations: 4 kB / 0.9779 GB, free: 7.324 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.3455, allocations: 11.91 kB / 0.9779 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.356, allocations: 3.618 MB / 0.9814 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.356, allocations: 0 / 0.9814 GB, free: 3.629 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/0.3582, allocations: 347.4 kB / 0.9818 GB, free: 3.289 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008709/0.3591, allocations: 135.6 kB / 0.9819 GB, free: 3.152 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001929/0.3593, allocations: 47.94 kB / 0.982 GB, free: 3.105 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.362, allocations: 2.078 MB / 0.984 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.362, allocations: 0 / 0.984 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006872/0.3688, allocations: 2.045 MB / 0.986 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.3699, allocations: 342.6 kB / 0.9863 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000301/0.3702, allocations: 32 kB / 0.9863 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/0.3719, allocations: 147.8 kB / 0.9865 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.3722, allocations: 113 kB / 0.9866 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/0.3724, allocations: 63.94 kB / 0.9866 GB, free: 14.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009821/0.3734, allocations: 0.5536 MB / 0.9872 GB, free: 13.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.3734, allocations: 0 / 0.9872 GB, free: 13.59 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001791/0.3752, allocations: 0.5184 MB / 0.9877 GB, free: 13.07 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,incAng.decAng.tNext,incAng.decAng.k,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) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 144 * 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.003803/0.379, allocations: 0.726 MB / 0.9884 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006185/0.3851, allocations: 1.842 MB / 0.9902 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3851, allocations: 0 / 0.9902 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003248/0.3884, allocations: 1.104 MB / 0.9913 GB, free: 9.566 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.3904, allocations: 405.1 kB / 0.9917 GB, free: 9.191 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/0.3972, allocations: 2.547 MB / 0.9942 GB, free: 6.602 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.398, allocations: 0.5606 MB / 0.9947 GB, free: 6.012 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001769/0.3997, allocations: 421 kB / 0.9951 GB, free: 5.598 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/0.4005, allocations: 176.4 kB / 0.9953 GB, free: 5.426 MB / 0.948 GB Notification: Performance of SimCode: time 1.343e-06/0.4005, allocations: 0 / 0.9953 GB, free: 5.426 MB / 0.948 GB Notification: Performance of Templates: time 0.04588/0.4463, allocations: 23.98 MB / 1.019 GB, free: 13.72 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.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.259480415959843]