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.001906/0.001906, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002743/0.002743, allocations: 161.3 kB / 23.55 MB, free: 0.8594 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.489/1.489, 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 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.029/3.029, allocations: 377.8 MB / 0.6232 GB, free: 8.559 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.543e-06/1.543e-06, allocations: 0 / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.685e-05, allocations: 2.969 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009223/0.00925, allocations: 5.631 MB / 0.8163 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1991/0.2083, allocations: 133.6 MB / 0.9468 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.2094, allocations: 23.81 kB / 0.9468 GB, free: 6.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.2104, allocations: 245.6 kB / 0.947 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.2132, allocations: 0.726 MB / 0.9477 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.2161, allocations: 1.028 MB / 0.9487 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003374/0.2195, allocations: 2.184 MB / 0.9509 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.2205, allocations: 0.5449 MB / 0.9514 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.2222, allocations: 1.158 MB / 0.9525 GB, free: 468 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.2232, allocations: 0.6428 MB / 0.9532 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.2235, allocations: 204 kB / 0.9534 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.2249, allocations: 0.6905 MB / 0.954 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.2254, allocations: 0.4985 MB / 0.9545 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007548/0.2262, allocations: 0.604 MB / 0.9551 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.2299, allocations: 2.726 MB / 0.9578 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2299, allocations: 4 kB / 0.9578 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2299, allocations: 0 / 0.9578 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.2299, allocations: 0 / 0.9578 GB, free: 11.08 MB / 0.9167 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.003968/0.2339, allocations: 1.929 MB / 0.9597 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.234, allocations: 8.031 kB / 0.9597 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.245, allocations: 1.571 MB / 0.9612 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.247, allocations: 1.038 MB / 0.9622 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.2472, allocations: 106.8 kB / 0.9623 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003035/0.2475, allocations: 144 kB / 0.9625 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006456/0.2539, allocations: 2.488 MB / 0.9649 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.2539, allocations: 4 kB / 0.9649 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.2541, allocations: 56 kB / 0.9649 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.2542, allocations: 32 kB / 0.965 GB, free: 3.508 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008758/0.2629, allocations: 2.914 MB / 0.9678 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.2738, allocations: 4.417 MB / 0.9721 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009449/0.2833, allocations: 2.861 MB / 0.9749 GB, free: 9.254 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003688/0.287, allocations: 1.104 MB / 0.976 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.2873, allocations: 89.23 kB / 0.9761 GB, free: 8.059 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004509/0.2918, allocations: 1.562 MB / 0.9776 GB, free: 6.449 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=143): time 3.637e-06/0.2918, allocations: 0 / 0.9776 GB, free: 6.449 MB / 0.9323 GB Notification: Performance of matching and sorting (n=143): time 0.01336/0.3052, allocations: 3.64 MB / 0.9812 GB, free: 2.801 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/0.3054, allocations: 213.2 kB / 0.9814 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.3067, allocations: 0.7311 MB / 0.9821 GB, free: 1.809 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.307, allocations: 61.69 kB / 0.9821 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/0.3076, allocations: 0.5331 MB / 0.9827 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/0.3082, allocations: 479.9 kB / 0.9831 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007028/0.3089, allocations: 291.5 kB / 0.9834 GB, free: 444 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003009/0.3092, allocations: 414.7 kB / 0.9838 GB, free: 20 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003824/0.313, allocations: 1.081 MB / 0.9848 GB, free: 14.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003976/0.317, allocations: 1.383 MB / 0.9862 GB, free: 13.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/0.3242, allocations: 2.107 MB / 0.9883 GB, free: 11.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3242, allocations: 0 / 0.9883 GB, free: 11.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.009119/0.3333, allocations: 2.624 MB / 0.9908 GB, free: 8.738 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.3334, allocations: 7.938 kB / 0.9908 GB, free: 8.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3334, allocations: 0 / 0.9908 GB, free: 8.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.3345, allocations: 132.7 kB / 0.991 GB, free: 8.598 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003118/0.3376, allocations: 451.2 kB / 0.9914 GB, free: 8.156 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.3406, allocations: 1.52 MB / 0.9929 GB, free: 6.531 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.3432, allocations: 275.1 kB / 0.9931 GB, free: 6.262 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/0.3435, allocations: 71.94 kB / 0.9932 GB, free: 6.191 MB / 0.948 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.000986/0.3445, allocations: 373.4 kB / 0.9936 GB, free: 5.816 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006139/0.3451, allocations: 167.2 kB / 0.9937 GB, free: 5.652 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009875/0.355, allocations: 2.911 MB / 0.9966 GB, free: 2.727 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.355, allocations: 16.11 kB / 0.9966 GB, free: 2.711 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.355, allocations: 7.875 kB / 0.9966 GB, free: 2.703 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.355, allocations: 11.95 kB / 0.9966 GB, free: 2.691 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.3682, allocations: 4.545 MB / 1.001 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.3682, allocations: 4 kB / 1.001 GB, free: 14.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/0.3709, allocations: 415.4 kB / 1.001 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008504/0.3718, allocations: 128.7 kB / 1.002 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002155/0.372, allocations: 51.88 kB / 1.002 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.3744, allocations: 1.551 MB / 1.003 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3744, allocations: 0 / 1.003 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009359/0.3838, allocations: 2.74 MB / 1.006 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.3848, allocations: 402.5 kB / 1.006 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/0.3852, allocations: 28 kB / 1.006 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/0.3877, allocations: 234.5 kB / 1.006 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/0.388, allocations: 109.2 kB / 1.007 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002145/0.3882, allocations: 67.94 kB / 1.007 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001126/0.3894, allocations: 0.5224 MB / 1.007 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.3894, allocations: 0 / 1.007 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001991/0.3913, allocations: 0.5378 MB / 1.008 GB, free: 7.184 MB / 0.9636 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.002977/0.3943, allocations: 0.7012 MB / 1.008 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008612/0.4029, allocations: 2.541 MB / 1.011 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4029, allocations: 0 / 1.011 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004384/0.4073, allocations: 1.36 MB / 1.012 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.4094, allocations: 411.6 kB / 1.013 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/0.4178, allocations: 3.138 MB / 1.016 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009862/0.4188, allocations: 0.6263 MB / 1.016 GB, free: 14.53 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002046/0.4209, allocations: 481.4 kB / 1.017 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008603/0.4217, allocations: 180.3 kB / 1.017 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of SimCode: time 1.262e-06/0.4217, allocations: 0 / 1.017 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of Templates: time 0.04838/0.4701, allocations: 24.94 MB / 1.041 GB, free: 5.242 MB / 0.9948 GB " [Timeout remaining time 300] 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 -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/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: 9.837476329994388]