Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 105.2 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 65.78 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2459, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.007443/0.2533, allocations: 5.077 MB / 0.9552 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.618/0.8714, allocations: 151.5 MB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008843/0.8724, allocations: 20.12 kB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.873, allocations: 191.6 kB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.8748, allocations: 0.5837 MB / 1.104 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.8773, allocations: 0.9937 MB / 1.105 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002543/0.8798, allocations: 1.77 MB / 1.107 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.8813, allocations: 0.8662 MB / 1.108 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.8825, allocations: 0.6855 MB / 1.108 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.8839, allocations: 0.7592 MB / 1.109 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007453/0.8846, allocations: 171.2 kB / 1.109 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.8867, allocations: 0.6408 MB / 1.11 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006277/0.8873, allocations: 439.4 kB / 1.11 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.8883, allocations: 0.7656 MB / 1.111 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.8915, allocations: 2.188 MB / 1.113 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8915, allocations: 1.531 kB / 1.113 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8915, allocations: 0 / 1.113 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.327e-05/0.8916, allocations: 0 / 1.113 GB, free: 3.582 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004354/0.896, allocations: 1.818 MB / 1.115 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.896, allocations: 9.469 kB / 1.115 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1138/1.01, allocations: 15.37 MB / 1.13 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/1.012, allocations: 1.204 MB / 1.131 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/1.013, allocations: 99.94 kB / 1.131 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006973/1.013, allocations: 122.1 kB / 1.131 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03779/1.051, allocations: 7.675 MB / 1.139 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/1.051, allocations: 1.375 kB / 1.139 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003623/1.052, allocations: 48.94 kB / 1.139 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/1.052, allocations: 30.25 kB / 1.139 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07243/1.124, allocations: 13.58 MB / 1.152 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04627/1.17, allocations: 9.538 MB / 1.161 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04212/1.213, allocations: 7.91 MB / 1.169 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03396/1.247, allocations: 6.189 MB / 1.175 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/1.247, allocations: 0.6027 MB / 1.176 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03703/1.284, allocations: 6.751 MB / 1.182 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=113): time 5.02e-06/1.284, allocations: 4 kB / 1.182 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of matching and sorting (n=113): time 0.1071/1.391, allocations: 18.17 MB / 1.2 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.392, allocations: 200.9 kB / 1.2 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/1.393, allocations: 0.7627 MB / 1.201 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006571/1.394, allocations: 49.7 kB / 1.201 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/1.394, allocations: 496.4 kB / 1.202 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008671/1.395, allocations: 368.4 kB / 1.202 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/1.397, allocations: 373.8 kB / 1.202 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.397, allocations: 359.6 kB / 1.203 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03621/1.433, allocations: 6.314 MB / 1.209 GB, free: 12.71 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03568/1.469, allocations: 6.441 MB / 1.215 GB, free: 6.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06676/1.535, allocations: 10.92 MB / 1.226 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/1.536, allocations: 3.938 kB / 1.226 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.0705/1.606, allocations: 12.26 MB / 1.238 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/1.606, allocations: 8 kB / 1.238 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.606, allocations: 4 kB / 1.238 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/1.607, allocations: 76.78 kB / 1.238 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01963/1.626, allocations: 2.675 MB / 1.24 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/1.629, allocations: 1.634 MB / 1.242 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01905/1.648, allocations: 2.46 MB / 1.244 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006915/1.649, allocations: 115.5 kB / 1.244 GB, free: 7.891 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,ove.solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,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 (140): * Single equations (assignments): 139 * 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.001573/1.65, allocations: 315.4 kB / 1.245 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009254/1.651, allocations: 106.8 kB / 1.245 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07136/1.722, allocations: 12.73 MB / 1.257 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/1.723, allocations: 12 kB / 1.257 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.723, allocations: 0 / 1.257 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.021e-05/1.723, allocations: 7.969 kB / 1.257 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/1.726, allocations: 1.852 MB / 1.259 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.726, allocations: 0 / 1.259 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01962/1.745, allocations: 2.652 MB / 1.262 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/1.746, allocations: 80.66 kB / 1.262 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006589/1.747, allocations: 95.81 kB / 1.262 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.749, allocations: 1.658 MB / 1.264 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.749, allocations: 0 / 1.264 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0704/1.819, allocations: 12.09 MB / 1.275 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.821, allocations: 0.6629 MB / 1.276 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000838/1.822, allocations: 35.84 kB / 1.276 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01898/1.841, allocations: 2.398 MB / 1.278 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/1.841, allocations: 101.2 kB / 1.278 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005791/1.842, allocations: 107.7 kB / 1.279 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009668/1.843, allocations: 0.542 MB / 1.279 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.843, allocations: 0 / 1.279 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002595/1.845, allocations: 0.7021 MB / 1.28 GB, free: 3.496 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001974/1.847, allocations: 0.6393 MB / 1.28 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.07263/1.92, allocations: 13.29 MB / 1.293 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/1.92, allocations: 0 / 1.293 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03606/1.956, allocations: 6.507 MB / 1.3 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.959, allocations: 313.8 kB / 1.3 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03934/1.998, allocations: 8.147 MB / 1.308 GB, free: 6.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008567/1.999, allocations: 1.151 MB / 1.309 GB, free: 5.551 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/2.002, allocations: 330.9 kB / 1.309 GB, free: 5.227 MB / 1.014 GB Notification: Performance of SimCode: time 8.82e-07/2.002, allocations: 0 / 1.309 GB, free: 5.227 MB / 1.014 GB Notification: Performance of Templates: time 0.06101/2.063, allocations: 44.41 MB / 1.353 GB, free: 8.801 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches