Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.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.001479/0.001479, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001325/0.001325, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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.432/1.432, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.877/2.877, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.91 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9856/0.9878, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.007712/0.9955, allocations: 6.642 MB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2074/1.203, allocations: 155.4 MB / 1.498 GB, free: 5.754 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/1.205, allocations: 25.31 kB / 1.498 GB, free: 5.742 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/1.206, allocations: 259.2 kB / 1.499 GB, free: 5.512 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003497/1.21, allocations: 0.7259 MB / 1.499 GB, free: 4.949 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003205/1.213, allocations: 1.064 MB / 1.5 GB, free: 4.082 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003208/1.216, allocations: 2.169 MB / 1.503 GB, free: 1.902 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/1.217, allocations: 0.6438 MB / 1.503 GB, free: 1.223 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/1.219, allocations: 0.8217 MB / 1.504 GB, free: 408 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/1.22, allocations: 0.8716 MB / 1.505 GB, free: 15.52 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002933/1.22, allocations: 212 kB / 1.505 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/1.222, allocations: 0.7494 MB / 1.506 GB, free: 14.57 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004629/1.222, allocations: 494.6 kB / 1.506 GB, free: 14.08 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009391/1.223, allocations: 0.9059 MB / 1.507 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003796/1.227, allocations: 2.693 MB / 1.51 GB, free: 10.47 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.227, allocations: 0 / 1.51 GB, free: 10.47 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.254e-06/1.227, allocations: 0 / 1.51 GB, free: 10.47 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.806e-05/1.227, allocations: 0 / 1.51 GB, free: 10.47 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.004248/1.231, allocations: 2.054 MB / 1.512 GB, free: 8.355 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.231, allocations: 12.03 kB / 1.512 GB, free: 8.344 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.699e-05/1.231, allocations: 34.94 kB / 1.512 GB, free: 8.309 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/1.232, allocations: 207 kB / 1.512 GB, free: 8.098 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1212/1.353, allocations: 16.1 MB / 1.528 GB, free: 7.973 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/1.356, allocations: 1.449 MB / 1.529 GB, free: 6.48 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.356, allocations: 106.8 kB / 1.529 GB, free: 6.375 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000584/1.357, allocations: 132 kB / 1.529 GB, free: 6.246 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04014/1.397, allocations: 8.342 MB / 1.537 GB, free: 13.84 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/1.397, allocations: 0 / 1.537 GB, free: 13.84 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003873/1.397, allocations: 56 kB / 1.538 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/1.397, allocations: 36 kB / 1.538 GB, free: 13.75 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07592/1.473, allocations: 14.62 MB / 1.552 GB, free: 15.11 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/1.521, allocations: 12.12 MB / 1.564 GB, free: 2.77 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06462/1.585, allocations: 10.35 MB / 1.574 GB, free: 8.41 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03629/1.622, allocations: 6.69 MB / 1.58 GB, free: 1.707 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006769/1.622, allocations: 0.6062 MB / 1.581 GB, free: 0.9727 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03727/1.66, allocations: 7.338 MB / 1.588 GB, free: 9.605 MB / 1.264 GB Notification: Performance of pre-optimization done (n=115): time 3.266e-06/1.66, allocations: 0 / 1.588 GB, free: 9.605 MB / 1.264 GB Notification: Performance of matching and sorting (n=115): time 0.1101/1.77, allocations: 19.64 MB / 1.607 GB, free: 5.91 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.77, allocations: 196.9 kB / 1.607 GB, free: 5.676 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/1.771, allocations: 0.8414 MB / 1.608 GB, free: 4.824 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005841/1.772, allocations: 49.7 kB / 1.608 GB, free: 4.77 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/1.772, allocations: 0.5638 MB / 1.609 GB, free: 4.199 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006888/1.773, allocations: 392.7 kB / 1.609 GB, free: 3.812 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/1.774, allocations: 378.4 kB / 1.61 GB, free: 3.438 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.774, allocations: 345.9 kB / 1.61 GB, free: 3.094 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03701/1.811, allocations: 6.794 MB / 1.617 GB, free: 12.29 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03732/1.849, allocations: 6.944 MB / 1.623 GB, free: 5.301 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06832/1.917, allocations: 11.59 MB / 1.635 GB, free: 9.688 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.917, allocations: 4 kB / 1.635 GB, free: 9.684 MB / 1.311 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.07373/1.991, allocations: 13.07 MB / 1.647 GB, free: 12.58 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/1.991, allocations: 4 kB / 1.647 GB, free: 12.58 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/1.991, allocations: 4 kB / 1.647 GB, free: 12.57 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/1.991, allocations: 84.78 kB / 1.648 GB, free: 12.49 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01986/2.011, allocations: 2.773 MB / 1.65 GB, free: 9.711 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/2.014, allocations: 1.643 MB / 1.652 GB, free: 7.922 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01941/2.033, allocations: 2.546 MB / 1.654 GB, free: 5.371 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007/2.034, allocations: 115.8 kB / 1.654 GB, free: 5.258 MB / 1.326 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.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (134): * Single equations (assignments): 133 * 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.001225/2.035, allocations: 343.2 kB / 1.655 GB, free: 4.91 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/2.036, allocations: 115.2 kB / 1.655 GB, free: 4.797 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07552/2.111, allocations: 13.8 MB / 1.668 GB, free: 6.965 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/2.111, allocations: 15.94 kB / 1.668 GB, free: 6.949 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/2.111, allocations: 0 / 1.668 GB, free: 6.949 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/2.111, allocations: 7.922 kB / 1.668 GB, free: 6.941 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003665/2.115, allocations: 2.62 MB / 1.671 GB, free: 4.266 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/2.115, allocations: 7.984 kB / 1.671 GB, free: 4.258 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02027/2.135, allocations: 2.749 MB / 1.674 GB, free: 1.504 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/2.136, allocations: 68.78 kB / 1.674 GB, free: 1.434 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000607/2.136, allocations: 103.8 kB / 1.674 GB, free: 1.332 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/2.138, allocations: 1.678 MB / 1.675 GB, free: 15.51 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/2.138, allocations: 0 / 1.675 GB, free: 15.51 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07378/2.212, allocations: 13.01 MB / 1.688 GB, free: 2.457 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/2.214, allocations: 0.8275 MB / 1.689 GB, free: 1.609 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005564/2.215, allocations: 27.94 kB / 1.689 GB, free: 1.582 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01984/2.235, allocations: 2.489 MB / 1.691 GB, free: 15.09 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/2.235, allocations: 97.11 kB / 1.691 GB, free: 15 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005889/2.236, allocations: 115.8 kB / 1.692 GB, free: 14.88 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.001014/2.237, allocations: 0.5929 MB / 1.692 GB, free: 14.28 MB / 1.373 GB Notification: Performance of sort global known variables: time 9e-08/2.237, allocations: 4 kB / 1.692 GB, free: 14.27 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.002634/2.239, allocations: 0.7488 MB / 1.693 GB, free: 13.52 MB / 1.373 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.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.07636/2.316, allocations: 14.1 MB / 1.707 GB, free: 15.55 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.07568/2.391, allocations: 13.86 MB / 1.72 GB, free: 1.656 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/2.391, allocations: 4 kB / 1.72 GB, free: 1.652 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.03796/2.429, allocations: 7.001 MB / 1.727 GB, free: 10.63 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/2.431, allocations: 359.1 kB / 1.727 GB, free: 10.3 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2355/2.667, allocations: 46.84 MB / 1.773 GB, free: 11.25 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/2.668, allocations: 1.193 MB / 1.774 GB, free: 10.02 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.004088/2.672, allocations: 0.8213 MB / 1.775 GB, free: 9.199 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002501/2.674, allocations: 0.6981 MB / 1.776 GB, free: 8.5 MB / 1.451 GB Notification: Performance of SimCode: time 7.91e-07/2.674, allocations: 0 / 1.776 GB, free: 8.5 MB / 1.451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/2.777, allocations: 52.59 MB / 1.827 GB, free: 4.078 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/17.35, allocations: 6.734 kB / 1.827 GB, free: 4.074 MB / 1.498 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.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: 23.916003894992173]