Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001529/0.001529, allocations: 104.8 kB / 16.27 MB, free: 5.996 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.001501/0.001501, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.659/2.659, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.5 kB / 0.9245 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7313, allocations: 162.2 MB / 1.083 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang): time 0.008158/0.7395, allocations: 6.055 MB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.9256, allocations: 151.9 MB / 1.237 GB, free: 408 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.9267, allocations: 19.88 kB / 1.237 GB, free: 388 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.9274, allocations: 225.8 kB / 1.237 GB, free: 160 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.9295, allocations: 0.654 MB / 1.238 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.9318, allocations: 1.018 MB / 1.239 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.9339, allocations: 1.932 MB / 1.241 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.9351, allocations: 0.8122 MB / 1.242 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009296/0.936, allocations: 0.7087 MB / 1.242 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009674/0.937, allocations: 0.7821 MB / 1.243 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.9373, allocations: 172 kB / 1.243 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.9385, allocations: 0.6402 MB / 1.244 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.939, allocations: 438.6 kB / 1.244 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007946/0.9398, allocations: 0.7931 MB / 1.245 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.9423, allocations: 2.239 MB / 1.247 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.9423, allocations: 4 kB / 1.247 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9423, allocations: 4 kB / 1.247 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.9424, allocations: 0 / 1.247 GB, free: 5.91 MB / 0.9669 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.003557/0.9459, allocations: 1.845 MB / 1.249 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.946, allocations: 12.03 kB / 1.249 GB, free: 4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1123/1.058, allocations: 15.37 MB / 1.264 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/1.061, allocations: 1.207 MB / 1.265 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-05/1.061, allocations: 94.47 kB / 1.265 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/1.061, allocations: 120 kB / 1.266 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03651/1.098, allocations: 7.669 MB / 1.273 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/1.098, allocations: 7.938 kB / 1.273 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003162/1.098, allocations: 56 kB / 1.273 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/1.098, allocations: 28 kB / 1.273 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0687/1.167, allocations: 13.57 MB / 1.286 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04241/1.209, allocations: 10.02 MB / 1.296 GB, free: 3.496 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04133/1.251, allocations: 7.921 MB / 1.304 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0336/1.284, allocations: 6.187 MB / 1.31 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006274/1.285, allocations: 0.6061 MB / 1.311 GB, free: 4.633 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03558/1.321, allocations: 6.749 MB / 1.317 GB, free: 13.85 MB / 1.045 GB Notification: Performance of pre-optimization done (n=113): time 3.106e-06/1.321, allocations: 0 / 1.317 GB, free: 13.85 MB / 1.045 GB Notification: Performance of matching and sorting (n=113): time 0.1018/1.422, allocations: 18.19 MB / 1.335 GB, free: 11.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.423, allocations: 192.9 kB / 1.335 GB, free: 11.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/1.424, allocations: 0.7666 MB / 1.336 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/1.424, allocations: 49.7 kB / 1.336 GB, free: 10.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/1.425, allocations: 496.4 kB / 1.336 GB, free: 10.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005907/1.425, allocations: 370.7 kB / 1.337 GB, free: 9.691 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/1.426, allocations: 374.4 kB / 1.337 GB, free: 9.316 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.426, allocations: 353.9 kB / 1.337 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03382/1.46, allocations: 6.314 MB / 1.344 GB, free: 2.645 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03411/1.494, allocations: 6.449 MB / 1.35 GB, free: 12.16 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06274/1.557, allocations: 10.92 MB / 1.361 GB, free: 1.219 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.557, allocations: 0 / 1.361 GB, free: 1.219 MB / 1.076 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.06767/1.625, allocations: 12.27 MB / 1.373 GB, free: 4.922 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.625, allocations: 8 kB / 1.373 GB, free: 4.914 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.625, allocations: 4 kB / 1.373 GB, free: 4.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/1.626, allocations: 88.75 kB / 1.373 GB, free: 4.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01896/1.645, allocations: 2.671 MB / 1.375 GB, free: 2.145 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.647, allocations: 1.638 MB / 1.377 GB, free: 372 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01846/1.665, allocations: 2.455 MB / 1.379 GB, free: 13.91 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005322/1.666, allocations: 111.8 kB / 1.379 GB, free: 13.8 MB / 1.107 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.001116/1.667, allocations: 320.5 kB / 1.38 GB, free: 13.48 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/1.668, allocations: 102.8 kB / 1.38 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06925/1.737, allocations: 12.73 MB / 1.392 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.737, allocations: 12 kB / 1.392 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.737, allocations: 0 / 1.392 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.737, allocations: 7.969 kB / 1.392 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/1.74, allocations: 1.846 MB / 1.394 GB, free: 14.69 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.74, allocations: 4 kB / 1.394 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01818/1.758, allocations: 2.652 MB / 1.397 GB, free: 12.03 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/1.759, allocations: 76.72 kB / 1.397 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004816/1.759, allocations: 95.81 kB / 1.397 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002072/1.761, allocations: 1.663 MB / 1.398 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.761, allocations: 0 / 1.398 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06658/1.828, allocations: 12.09 MB / 1.41 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.829, allocations: 0.659 MB / 1.411 GB, free: 13.24 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/1.83, allocations: 35.88 kB / 1.411 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01751/1.847, allocations: 2.398 MB / 1.413 GB, free: 10.8 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/1.848, allocations: 105.2 kB / 1.413 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000354/1.848, allocations: 99.81 kB / 1.413 GB, free: 10.6 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007998/1.849, allocations: 0.542 MB / 1.414 GB, free: 10.07 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.7e-07/1.849, allocations: 0 / 1.414 GB, free: 10.07 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002012/1.851, allocations: 0.7216 MB / 1.415 GB, free: 9.344 MB / 1.139 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.002156/1.853, allocations: 0.654 MB / 1.415 GB, free: 8.867 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.07028/1.923, allocations: 13.29 MB / 1.428 GB, free: 11.55 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.923, allocations: 0 / 1.428 GB, free: 11.55 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.03544/1.959, allocations: 6.509 MB / 1.435 GB, free: 5.02 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.961, allocations: 342.2 kB / 1.435 GB, free: 4.699 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03824/1.999, allocations: 8.039 MB / 1.443 GB, free: 12.62 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/2, allocations: 1.147 MB / 1.444 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/2.002, allocations: 326.9 kB / 1.444 GB, free: 11.13 MB / 1.17 GB Notification: Performance of SimCode: time 2.735e-06/2.002, allocations: 0 / 1.444 GB, free: 11.13 MB / 1.17 GB Notification: Performance of Templates: time 0.06098/2.063, allocations: 44.72 MB / 1.488 GB, free: 14.41 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches