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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008604/0.008604, allocations: 100 kB / 15.73 MB, free: 6.02 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.002139/0.002139, allocations: 202.9 kB / 16.68 MB, free: 5.938 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.179/2.179, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7768, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.006114/0.783, allocations: 5.072 MB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1921/0.9751, allocations: 151.5 MB / 1.24 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.9764, allocations: 20.25 kB / 1.24 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.9772, allocations: 201.4 kB / 1.241 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.9796, allocations: 0.5859 MB / 1.241 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.9824, allocations: 0.998 MB / 1.242 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.9848, allocations: 1.791 MB / 1.244 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.9862, allocations: 0.881 MB / 1.245 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.9873, allocations: 0.6839 MB / 1.245 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.9885, allocations: 0.756 MB / 1.246 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.9889, allocations: 172 kB / 1.246 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.9904, allocations: 0.6674 MB / 1.247 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004891/0.9909, allocations: 438.7 kB / 1.247 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.992, allocations: 0.7579 MB / 1.248 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.9952, allocations: 2.239 MB / 1.25 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9952, allocations: 3.938 kB / 1.25 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9952, allocations: 0 / 1.25 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.676e-05/0.9953, allocations: 0 / 1.25 GB, free: 6.945 MB / 0.9825 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.004242/0.9995, allocations: 1.825 MB / 1.252 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.9996, allocations: 12.03 kB / 1.252 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003016/0.9999, allocations: 182 kB / 1.252 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09885/1.099, allocations: 15.38 MB / 1.267 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/1.102, allocations: 1.23 MB / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/1.102, allocations: 94.47 kB / 1.269 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008965/1.103, allocations: 120 kB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/1.136, allocations: 7.677 MB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/1.136, allocations: 0 / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004411/1.137, allocations: 55.94 kB / 1.276 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/1.137, allocations: 32 kB / 1.276 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06259/1.2, allocations: 13.58 MB / 1.29 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03944/1.239, allocations: 9.497 MB / 1.299 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03678/1.276, allocations: 7.9 MB / 1.307 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02941/1.305, allocations: 6.198 MB / 1.313 GB, free: 6.828 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000732/1.306, allocations: 0.5983 MB / 1.313 GB, free: 6.102 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03136/1.337, allocations: 6.753 MB / 1.32 GB, free: 15.31 MB / 1.061 GB Notification: Performance of pre-optimization done (n=113): time 4.579e-06/1.338, allocations: 0 / 1.32 GB, free: 15.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=113): time 0.08836/1.426, allocations: 18.17 MB / 1.338 GB, free: 13.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.426, allocations: 196.9 kB / 1.338 GB, free: 12.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.427, allocations: 0.7629 MB / 1.338 GB, free: 12.08 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005723/1.428, allocations: 45.7 kB / 1.339 GB, free: 12.03 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005316/1.429, allocations: 0.4925 MB / 1.339 GB, free: 11.53 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009432/1.43, allocations: 374.6 kB / 1.339 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/1.431, allocations: 354.4 kB / 1.34 GB, free: 10.81 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.431, allocations: 349.9 kB / 1.34 GB, free: 10.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02941/1.461, allocations: 6.295 MB / 1.346 GB, free: 4.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03009/1.491, allocations: 6.444 MB / 1.352 GB, free: 13.67 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05431/1.545, allocations: 10.89 MB / 1.363 GB, free: 2.758 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/1.545, allocations: 0 / 1.363 GB, free: 2.758 MB / 1.092 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.05949/1.605, allocations: 12.21 MB / 1.375 GB, free: 6.523 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/1.605, allocations: 4 kB / 1.375 GB, free: 6.52 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.605, allocations: 12.06 kB / 1.375 GB, free: 6.508 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/1.606, allocations: 84.7 kB / 1.375 GB, free: 6.422 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01666/1.622, allocations: 2.663 MB / 1.378 GB, free: 3.754 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/1.624, allocations: 1.626 MB / 1.379 GB, free: 1.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01635/1.641, allocations: 2.459 MB / 1.382 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005539/1.641, allocations: 99.81 kB / 1.382 GB, free: 15.42 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (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 (132): * Single equations (assignments): 131 * 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.001206/1.643, allocations: 320.5 kB / 1.382 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006482/1.643, allocations: 102.7 kB / 1.382 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06059/1.704, allocations: 12.73 MB / 1.395 GB, free: 2.238 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/1.704, allocations: 16 kB / 1.395 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.704, allocations: 0 / 1.395 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/1.704, allocations: 7.984 kB / 1.395 GB, free: 2.215 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/1.707, allocations: 1.864 MB / 1.396 GB, free: 312 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.707, allocations: 3.938 kB / 1.396 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0164/1.723, allocations: 2.659 MB / 1.399 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/1.724, allocations: 76.77 kB / 1.399 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005566/1.724, allocations: 87.81 kB / 1.399 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.726, allocations: 1.65 MB / 1.401 GB, free: 11.68 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.726, allocations: 8.016 kB / 1.401 GB, free: 11.67 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0594/1.786, allocations: 12.08 MB / 1.413 GB, free: 15.55 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.787, allocations: 0.6707 MB / 1.413 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006947/1.788, allocations: 31.91 kB / 1.413 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01524/1.803, allocations: 2.406 MB / 1.416 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/1.804, allocations: 93.17 kB / 1.416 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005251/1.804, allocations: 103.9 kB / 1.416 GB, free: 12.23 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009508/1.805, allocations: 0.542 MB / 1.416 GB, free: 11.69 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.01e-07/1.805, allocations: 0 / 1.416 GB, free: 11.69 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002194/1.807, allocations: 0.6982 MB / 1.417 GB, free: 10.99 MB / 1.154 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.06112/1.869, allocations: 13.19 MB / 1.43 GB, free: 13.93 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.06029/1.929, allocations: 12.88 MB / 1.443 GB, free: 1.023 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.929, allocations: 0 / 1.443 GB, free: 1.023 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0312/1.96, allocations: 6.501 MB / 1.449 GB, free: 10.5 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/1.962, allocations: 324.1 kB / 1.449 GB, free: 10.2 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1907/2.153, allocations: 43.43 MB / 1.492 GB, free: 14.56 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009688/2.154, allocations: 1.16 MB / 1.493 GB, free: 13.37 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003649/2.157, allocations: 0.7232 MB / 1.493 GB, free: 12.64 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002245/2.16, allocations: 0.6317 MB / 1.494 GB, free: 12.01 MB / 1.232 GB Notification: Performance of SimCode: time 5.11e-07/2.16, allocations: 0 / 1.494 GB, free: 12.01 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08762/2.247, allocations: 46.31 MB / 1.539 GB, free: 13.94 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/16.4, allocations: 12.45 kB / 1.539 GB, free: 13.93 MB / 1.279 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.fmu > 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