Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008318/0.0008318, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007684/0.0007684, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.842/0.842, allocations: 177.2 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.72/1.72, allocations: 377.8 MB / 0.6229 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] 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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_12_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_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.916e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006939/0.006968, allocations: 5.265 MB / 0.9874 GB, free: 12.77 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5749/0.5818, allocations: 133.4 MB / 1.118 GB, free: 19.47 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.583, allocations: 25.75 kB / 1.118 GB, free: 19.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.5837, allocations: 230.4 kB / 1.118 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.5856, allocations: 0.6981 MB / 1.119 GB, free: 18.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.5877, allocations: 1.02 MB / 1.12 GB, free: 18.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.5893, allocations: 2.01 MB / 1.122 GB, free: 17.32 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.59, allocations: 0.4938 MB / 1.122 GB, free: 17.03 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009357/0.5909, allocations: 1.041 MB / 1.123 GB, free: 16.54 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005845/0.5915, allocations: 0.6061 MB / 1.124 GB, free: 16.31 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.5917, allocations: 172 kB / 1.124 GB, free: 16.31 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000952/0.5926, allocations: 0.6663 MB / 1.124 GB, free: 16.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.5929, allocations: 469 kB / 1.125 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.5933, allocations: 0.5459 MB / 1.125 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.5956, allocations: 2.445 MB / 1.128 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5956, allocations: 0 / 1.128 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5956, allocations: 0 / 1.128 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.5956, allocations: 1.062 kB / 1.128 GB, free: 14.6 MB / 0.9948 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.002124/0.5977, allocations: 1.834 MB / 1.13 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5978, allocations: 15.12 kB / 1.13 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004988/0.6027, allocations: 1.371 MB / 1.131 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.604, allocations: 0.9415 MB / 1.132 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.68e-05/0.6041, allocations: 97.12 kB / 1.132 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.6042, allocations: 130.9 kB / 1.132 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/0.6075, allocations: 2.317 MB / 1.134 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6076, allocations: 1.156 kB / 1.134 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.6077, allocations: 49.2 kB / 1.134 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.6077, allocations: 30.69 kB / 1.134 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004615/0.6123, allocations: 2.724 MB / 1.137 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.6179, allocations: 3.872 MB / 1.141 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.6226, allocations: 2.629 MB / 1.143 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.6244, allocations: 1.026 MB / 1.144 GB, free: 8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.6246, allocations: 80.61 kB / 1.144 GB, free: 7.988 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002233/0.6268, allocations: 1.483 MB / 1.146 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=142): time 3.727e-06/0.6268, allocations: 0 / 1.146 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of matching and sorting (n=142): time 0.006996/0.6338, allocations: 3.347 MB / 1.149 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.6339, allocations: 207.6 kB / 1.149 GB, free: 6.316 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/0.6348, allocations: 0.7012 MB / 1.15 GB, free: 6.012 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.6349, allocations: 59.73 kB / 1.15 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.6352, allocations: 495.8 kB / 1.151 GB, free: 5.578 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.6354, allocations: 475.4 kB / 1.151 GB, free: 5.199 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/0.6358, allocations: 299.3 kB / 1.151 GB, free: 5.078 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6359, allocations: 414.3 kB / 1.152 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.6379, allocations: 1.001 MB / 1.153 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.6399, allocations: 1.295 MB / 1.154 GB, free: 3.902 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.6434, allocations: 1.971 MB / 1.156 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6434, allocations: 0 / 1.156 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.004362/0.6478, allocations: 2.411 MB / 1.158 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.6478, allocations: 5.25 kB / 1.158 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6478, allocations: 2.188 kB / 1.158 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.6482, allocations: 90.22 kB / 1.158 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.6494, allocations: 440.4 kB / 1.159 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.6507, allocations: 1.52 MB / 1.16 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.6519, allocations: 279.3 kB / 1.161 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.652, allocations: 69.27 kB / 1.161 GB, free: 1.023 MB / 0.9948 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.0005706/0.6525, allocations: 355 kB / 1.161 GB, free: 0.7734 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.6527, allocations: 117.3 kB / 1.161 GB, free: 0.7109 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004825/0.6576, allocations: 2.75 MB / 1.164 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.6576, allocations: 15.72 kB / 1.164 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6576, allocations: 0 / 1.164 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.6576, allocations: 13.17 kB / 1.164 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006731/0.6643, allocations: 4.145 MB / 1.168 GB, free: 14.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6643, allocations: 0 / 1.168 GB, free: 14.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.6655, allocations: 414.4 kB / 1.168 GB, free: 14.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/0.6657, allocations: 75.91 kB / 1.168 GB, free: 14.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.6658, allocations: 51.45 kB / 1.168 GB, free: 14.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/0.667, allocations: 1.549 MB / 1.17 GB, free: 12.84 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.667, allocations: 5.344 kB / 1.17 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/0.6715, allocations: 2.528 MB / 1.172 GB, free: 11.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/0.672, allocations: 357.7 kB / 1.173 GB, free: 11.41 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.6722, allocations: 36.95 kB / 1.173 GB, free: 11.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/0.6731, allocations: 231.9 kB / 1.173 GB, free: 11.27 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.6733, allocations: 109.4 kB / 1.173 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.6734, allocations: 69.17 kB / 1.173 GB, free: 11.17 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005413/0.6739, allocations: 0.4946 MB / 1.174 GB, free: 10.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6739, allocations: 0 / 1.174 GB, free: 10.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001393/0.6753, allocations: 0.5163 MB / 1.174 GB, free: 10.75 MB / 1.01 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.001318/0.6766, allocations: 0.7172 MB / 1.175 GB, free: 10.42 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003896/0.6805, allocations: 2.36 MB / 1.177 GB, free: 9.23 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6805, allocations: 0 / 1.177 GB, free: 9.23 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.6824, allocations: 1.276 MB / 1.178 GB, free: 8.559 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008622/0.6833, allocations: 322.5 kB / 1.179 GB, free: 8.391 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.6872, allocations: 2.948 MB / 1.182 GB, free: 6.684 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.6876, allocations: 0.576 MB / 1.182 GB, free: 6.375 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/0.6882, allocations: 199.9 kB / 1.182 GB, free: 6.297 MB / 1.01 GB Notification: Performance of SimCode: time 1.343e-06/0.6882, allocations: 2.781 kB / 1.182 GB, free: 6.297 MB / 1.01 GB Notification: Performance of Templates: time 0.02347/0.7116, allocations: 29.54 MB / 1.211 GB, free: 15.54 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.242013211362064]