Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001174/0.001174, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008763/0.0008763, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8763/0.8763, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.684/1.684, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.656e-05, allocations: 4.953 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.005216/0.005233, allocations: 5.903 MB / 0.9867 GB, free: 12.67 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.6166/0.6218, allocations: 134 MB / 1.118 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.6228, allocations: 33.47 kB / 1.118 GB, free: 18.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/0.6235, allocations: 259.3 kB / 1.118 GB, free: 18.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.6255, allocations: 0.7522 MB / 1.119 GB, free: 17.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.6276, allocations: 1.081 MB / 1.12 GB, free: 17.34 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.63, allocations: 2.271 MB / 1.122 GB, free: 16.13 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009509/0.631, allocations: 0.6097 MB / 1.122 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.6327, allocations: 1.232 MB / 1.124 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.6338, allocations: 0.692 MB / 1.124 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004909/0.6343, allocations: 217.8 kB / 1.125 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.6357, allocations: 0.7328 MB / 1.125 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003403/0.6361, allocations: 0.5038 MB / 1.126 GB, free: 14.41 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008918/0.637, allocations: 0.6397 MB / 1.126 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003666/0.6406, allocations: 2.905 MB / 1.129 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6406, allocations: 0 / 1.129 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.524e-06/0.6406, allocations: 1 kB / 1.129 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.169e-05/0.6407, allocations: 0 / 1.129 GB, free: 12.87 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: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.004197/0.6449, allocations: 1.993 MB / 1.131 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.645, allocations: 14.23 kB / 1.131 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002216/0.6452, allocations: 206.2 kB / 1.131 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05577/0.701, allocations: 15.49 MB / 1.147 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.7039, allocations: 1.366 MB / 1.148 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.704, allocations: 115 kB / 1.148 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/0.7044, allocations: 145.9 kB / 1.148 GB, free: 9.672 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.7239, allocations: 8.321 MB / 1.156 GB, free: 6.051 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.724, allocations: 1.062 kB / 1.156 GB, free: 6.051 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004329/0.7244, allocations: 60.86 kB / 1.156 GB, free: 6.004 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/0.7244, allocations: 34.12 kB / 1.156 GB, free: 6.004 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03457/0.759, allocations: 14.1 MB / 1.17 GB, free: 14.64 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02453/0.7835, allocations: 10.1 MB / 1.18 GB, free: 8.344 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01999/0.8035, allocations: 8.272 MB / 1.188 GB, free: 4.246 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01629/0.8198, allocations: 6.47 MB / 1.194 GB, free: 15.92 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.8201, allocations: 80.41 kB / 1.194 GB, free: 15.85 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01778/0.8379, allocations: 7.177 MB / 1.201 GB, free: 8.617 MB / 1.026 GB Notification: Performance of pre-optimization done (n=125): time 4.178e-06/0.8379, allocations: 3.938 kB / 1.201 GB, free: 8.613 MB / 1.026 GB Notification: Performance of matching and sorting (n=125): time 0.04929/0.8872, allocations: 18.92 MB / 1.22 GB, free: 5.648 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.8873, allocations: 200.9 kB / 1.22 GB, free: 5.41 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.8884, allocations: 0.853 MB / 1.221 GB, free: 4.543 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005524/0.8889, allocations: 53.7 kB / 1.221 GB, free: 4.484 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.8893, allocations: 0.5601 MB / 1.222 GB, free: 3.918 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005065/0.8898, allocations: 424.3 kB / 1.222 GB, free: 3.504 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007405/0.8906, allocations: 378.5 kB / 1.222 GB, free: 3.129 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.8907, allocations: 353.9 kB / 1.223 GB, free: 2.777 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01633/0.907, allocations: 6.58 MB / 1.229 GB, free: 12.19 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01713/0.9241, allocations: 6.909 MB / 1.236 GB, free: 5.191 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03081/0.955, allocations: 11.25 MB / 1.247 GB, free: 9.922 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.955, allocations: 7.562 kB / 1.247 GB, free: 9.918 MB / 1.073 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.0341/0.9891, allocations: 12.72 MB / 1.259 GB, free: 13.18 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.9891, allocations: 4 kB / 1.259 GB, free: 13.17 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.9891, allocations: 112 / 1.259 GB, free: 13.17 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.9895, allocations: 92.77 kB / 1.259 GB, free: 13.08 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009149/0.9986, allocations: 2.683 MB / 1.262 GB, free: 10.39 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/1, allocations: 1.529 MB / 1.263 GB, free: 8.742 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009479/1.01, allocations: 2.477 MB / 1.266 GB, free: 6.266 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005782/1.01, allocations: 103.8 kB / 1.266 GB, free: 6.164 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 (ove.ove.solAzi.outsidePolarCircle,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (150): * Single equations (assignments): 149 * 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.001233/1.012, allocations: 357.6 kB / 1.266 GB, free: 5.805 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005224/1.012, allocations: 123.1 kB / 1.266 GB, free: 5.684 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03465/1.047, allocations: 13.24 MB / 1.279 GB, free: 8.426 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/1.047, allocations: 16 kB / 1.279 GB, free: 8.41 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.047, allocations: 0 / 1.279 GB, free: 8.41 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/1.047, allocations: 7.969 kB / 1.279 GB, free: 8.402 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03747/1.084, allocations: 15.51 MB / 1.294 GB, free: 8.801 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.084, allocations: 0 / 1.294 GB, free: 8.801 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009024/1.093, allocations: 2.662 MB / 1.297 GB, free: 6.137 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/1.094, allocations: 76.78 kB / 1.297 GB, free: 6.059 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000489/1.094, allocations: 91.81 kB / 1.297 GB, free: 5.969 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/1.095, allocations: 1.558 MB / 1.299 GB, free: 4.289 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.095, allocations: 7.906 kB / 1.299 GB, free: 4.281 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03374/1.129, allocations: 12.67 MB / 1.311 GB, free: 7.566 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.131, allocations: 0.756 MB / 1.312 GB, free: 6.809 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003799/1.131, allocations: 32 kB / 1.312 GB, free: 6.777 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008571/1.14, allocations: 2.403 MB / 1.314 GB, free: 4.371 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003071/1.14, allocations: 109 kB / 1.314 GB, free: 4.266 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.14, allocations: 107.8 kB / 1.314 GB, free: 4.16 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0008515/1.141, allocations: 0.5968 MB / 1.315 GB, free: 3.551 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.71e-07/1.141, allocations: 0 / 1.315 GB, free: 3.551 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002037/1.143, allocations: 0.7604 MB / 1.316 GB, free: 2.789 MB / 1.135 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,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,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,weaDat.conTimMin.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 133 * 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.03471/1.178, allocations: 13.85 MB / 1.329 GB, free: 5.105 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.03406/1.212, allocations: 13.43 MB / 1.342 GB, free: 7.645 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.212, allocations: 4 kB / 1.342 GB, free: 7.641 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.01741/1.229, allocations: 6.771 MB / 1.349 GB, free: 0.8555 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/1.231, allocations: 370.3 kB / 1.349 GB, free: 0.5156 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1108/1.342, allocations: 45.84 MB / 1.394 GB, free: 2.477 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/1.342, allocations: 0.6292 MB / 1.395 GB, free: 1.816 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.002549/1.345, allocations: 0.7516 MB / 1.396 GB, free: 1.062 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.346, allocations: 0.6835 MB / 1.396 GB, free: 388 kB / 1.214 GB Notification: Performance of SimCode: time 1.874e-06/1.346, allocations: 0 / 1.396 GB, free: 388 kB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06718/1.414, allocations: 56.07 MB / 1.451 GB, free: 8.641 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.895/10.31, allocations: 4 kB / 1.451 GB, free: 8.637 MB / 1.276 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_Examples_Overhang.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.453494204208255]