Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.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.001249/0.001249, allocations: 114.5 kB / 17.16 MB, free: 5.895 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.001295/0.001295, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.438/1.438, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.876/2.876, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 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.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",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.001979/0.001979, allocations: 71.89 kB / 1.165 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9221/0.9241, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007756/0.9318, allocations: 6.312 MB / 1.346 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2016/1.133, allocations: 154.9 MB / 1.498 GB, free: 6.43 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/1.135, allocations: 25.75 kB / 1.498 GB, free: 6.418 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008169/1.136, allocations: 242.6 kB / 1.498 GB, free: 6.203 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002742/1.138, allocations: 0.7239 MB / 1.499 GB, free: 5.645 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/1.141, allocations: 1.021 MB / 1.5 GB, free: 4.863 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002472/1.143, allocations: 2.077 MB / 1.502 GB, free: 2.859 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000938/1.144, allocations: 0.587 MB / 1.502 GB, free: 2.234 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/1.145, allocations: 0.7671 MB / 1.503 GB, free: 1.465 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/1.147, allocations: 0.817 MB / 1.504 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003723/1.147, allocations: 196 kB / 1.504 GB, free: 464 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/1.149, allocations: 0.7026 MB / 1.505 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006344/1.15, allocations: 490.6 kB / 1.505 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/1.151, allocations: 0.8591 MB / 1.506 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/1.155, allocations: 2.538 MB / 1.508 GB, free: 11.86 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.155, allocations: 4 kB / 1.508 GB, free: 11.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.102e-06/1.155, allocations: 0 / 1.508 GB, free: 11.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.23e-05/1.155, allocations: 0 / 1.508 GB, free: 11.86 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005485/1.161, allocations: 1.993 MB / 1.51 GB, free: 9.801 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.161, allocations: 8.031 kB / 1.51 GB, free: 9.793 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.962e-05/1.161, allocations: 34.86 kB / 1.51 GB, free: 9.758 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003826/1.161, allocations: 202.7 kB / 1.511 GB, free: 9.551 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02476/1.186, allocations: 1.993 MB / 1.512 GB, free: 7.555 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/1.189, allocations: 1.094 MB / 1.514 GB, free: 6.414 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/1.189, allocations: 98.67 kB / 1.514 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004367/1.19, allocations: 132 kB / 1.514 GB, free: 6.188 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009265/1.199, allocations: 2.502 MB / 1.516 GB, free: 3.625 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/1.199, allocations: 0 / 1.516 GB, free: 3.625 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/1.199, allocations: 56 kB / 1.516 GB, free: 3.57 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/1.199, allocations: 36 kB / 1.516 GB, free: 3.535 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/1.212, allocations: 3.436 MB / 1.52 GB, free: 92 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/1.225, allocations: 6.05 MB / 1.526 GB, free: 9.855 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/1.24, allocations: 3.457 MB / 1.529 GB, free: 6.395 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005612/1.246, allocations: 1.326 MB / 1.53 GB, free: 5.066 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006714/1.246, allocations: 0.6143 MB / 1.531 GB, free: 4.324 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006215/1.252, allocations: 1.734 MB / 1.533 GB, free: 2.57 MB / 1.201 GB Notification: Performance of pre-optimization done (n=133): time 3.577e-06/1.252, allocations: 0 / 1.533 GB, free: 2.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=133): time 0.0185/1.271, allocations: 4.328 MB / 1.537 GB, free: 14.21 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/1.271, allocations: 201.2 kB / 1.537 GB, free: 13.97 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/1.272, allocations: 0.8374 MB / 1.538 GB, free: 13.12 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.273, allocations: 53.7 kB / 1.538 GB, free: 13.06 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/1.273, allocations: 0.5328 MB / 1.538 GB, free: 12.52 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004918/1.274, allocations: 452.1 kB / 1.539 GB, free: 12.08 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006288/1.274, allocations: 266.7 kB / 1.539 GB, free: 11.81 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.274, allocations: 353.9 kB / 1.539 GB, free: 11.46 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005482/1.28, allocations: 1.275 MB / 1.541 GB, free: 10.18 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005731/1.286, allocations: 1.424 MB / 1.542 GB, free: 8.723 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.296, allocations: 2.426 MB / 1.544 GB, free: 6.281 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/1.296, allocations: 7.938 kB / 1.544 GB, free: 6.273 MB / 1.217 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01222/1.308, allocations: 2.885 MB / 1.547 GB, free: 3.375 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.308, allocations: 8 kB / 1.547 GB, free: 3.367 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.308, allocations: 4.062 kB / 1.547 GB, free: 3.363 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/1.309, allocations: 84.77 kB / 1.547 GB, free: 3.277 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/1.312, allocations: 0.5187 MB / 1.548 GB, free: 2.758 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/1.315, allocations: 1.643 MB / 1.549 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/1.318, allocations: 366.9 kB / 1.55 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.318, allocations: 67.91 kB / 1.55 GB, free: 0.543 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (143): * Single equations (assignments): 142 * 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.0008524/1.319, allocations: 347.3 kB / 1.55 GB, free: 196 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/1.319, allocations: 127.1 kB / 1.55 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/1.333, allocations: 3.481 MB / 1.554 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/1.333, allocations: 16 kB / 1.554 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.333, allocations: 0 / 1.554 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.333, allocations: 3.984 kB / 1.554 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/1.337, allocations: 1.993 MB / 1.556 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.337, allocations: 0 / 1.556 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003441/1.34, allocations: 0.5031 MB / 1.556 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/1.34, allocations: 64.8 kB / 1.556 GB, free: 9.941 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/1.341, allocations: 67.91 kB / 1.556 GB, free: 9.875 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/1.343, allocations: 1.678 MB / 1.558 GB, free: 8.047 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.343, allocations: 0 / 1.558 GB, free: 8.047 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.355, allocations: 3.033 MB / 1.561 GB, free: 4.984 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.357, allocations: 495.6 kB / 1.561 GB, free: 4.48 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003914/1.357, allocations: 28 kB / 1.561 GB, free: 4.453 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003141/1.36, allocations: 312.8 kB / 1.562 GB, free: 4.148 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/1.36, allocations: 101.2 kB / 1.562 GB, free: 4.051 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/1.361, allocations: 67.92 kB / 1.562 GB, free: 3.984 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001065/1.362, allocations: 0.6083 MB / 1.562 GB, free: 3.379 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.362, allocations: 0 / 1.562 GB, free: 3.379 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001657/1.363, allocations: 0.5106 MB / 1.563 GB, free: 2.867 MB / 1.232 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 (146): * Single equations (assignments): 139 * 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.01501/1.378, allocations: 4.115 MB / 1.567 GB, free: 14.9 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.391, allocations: 2.949 MB / 1.57 GB, free: 11.94 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.391, allocations: 0 / 1.57 GB, free: 11.94 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007109/1.398, allocations: 1.587 MB / 1.571 GB, free: 10.34 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/1.401, allocations: 357.3 kB / 1.572 GB, free: 10.01 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04713/1.448, allocations: 14.27 MB / 1.586 GB, free: 11.57 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.449, allocations: 1.202 MB / 1.587 GB, free: 10.34 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002392/1.452, allocations: 0.5561 MB / 1.587 GB, free: 9.777 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/1.453, allocations: 0.5929 MB / 1.588 GB, free: 9.184 MB / 1.264 GB Notification: Performance of SimCode: time 6.91e-07/1.453, allocations: 3.938 kB / 1.588 GB, free: 9.18 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07959/1.533, allocations: 35.33 MB / 1.622 GB, free: 6.129 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.83, allocations: 8.609 kB / 1.622 GB, free: 6.121 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.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: 22.433280967001338]