Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.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.00128/0.00128, allocations: 116.8 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.001407/0.001407, allocations: 209.6 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.412/1.412, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9/2.9, allocations: 0.5003 GB / 0.8026 GB, free: 6.68 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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_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.002056/0.002056, allocations: 67.91 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8284/0.8305, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006501/0.837, allocations: 5.897 MB / 1.346 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1841/1.021, allocations: 154.7 MB / 1.497 GB, free: 6.941 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/1.022, allocations: 25.03 kB / 1.497 GB, free: 6.93 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009563/1.023, allocations: 227.9 kB / 1.497 GB, free: 6.727 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002833/1.026, allocations: 0.6922 MB / 1.498 GB, free: 6.195 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002823/1.029, allocations: 0.9881 MB / 1.499 GB, free: 5.449 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002756/1.032, allocations: 1.929 MB / 1.501 GB, free: 3.75 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/1.033, allocations: 0.5296 MB / 1.501 GB, free: 3.184 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/1.034, allocations: 0.7087 MB / 1.502 GB, free: 2.473 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/1.035, allocations: 0.7509 MB / 1.503 GB, free: 1.719 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/1.035, allocations: 168 kB / 1.503 GB, free: 1.555 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/1.037, allocations: 0.6792 MB / 1.504 GB, free: 0.875 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/1.037, allocations: 454.6 kB / 1.504 GB, free: 440 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007484/1.038, allocations: 0.7736 MB / 1.505 GB, free: 15.65 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/1.041, allocations: 2.277 MB / 1.507 GB, free: 13.37 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.041, allocations: 0 / 1.507 GB, free: 13.37 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.373e-06/1.041, allocations: 4 kB / 1.507 GB, free: 13.36 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.475e-05/1.041, allocations: 0 / 1.507 GB, free: 13.36 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003443/1.044, allocations: 1.898 MB / 1.509 GB, free: 11.4 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/1.044, allocations: 8.031 kB / 1.509 GB, free: 11.39 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.727e-05/1.044, allocations: 30.64 kB / 1.509 GB, free: 11.36 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/1.044, allocations: 189.9 kB / 1.509 GB, free: 11.17 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01696/1.061, allocations: 1.985 MB / 1.511 GB, free: 9.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/1.063, allocations: 1.008 MB / 1.512 GB, free: 8.125 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.311e-05/1.063, allocations: 94.44 kB / 1.512 GB, free: 8.031 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/1.064, allocations: 116 kB / 1.512 GB, free: 7.918 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007299/1.071, allocations: 2.326 MB / 1.514 GB, free: 5.527 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.071, allocations: 0 / 1.514 GB, free: 5.527 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/1.071, allocations: 52 kB / 1.514 GB, free: 5.477 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/1.071, allocations: 28 kB / 1.514 GB, free: 5.449 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/1.083, allocations: 3.217 MB / 1.518 GB, free: 2.223 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/1.093, allocations: 5.199 MB / 1.523 GB, free: 12.86 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/1.107, allocations: 3.298 MB / 1.526 GB, free: 9.543 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005024/1.112, allocations: 1.231 MB / 1.527 GB, free: 8.309 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/1.112, allocations: 0.6062 MB / 1.528 GB, free: 7.574 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005709/1.118, allocations: 1.632 MB / 1.529 GB, free: 5.922 MB / 1.201 GB Notification: Performance of pre-optimization done (n=132): time 2.985e-06/1.118, allocations: 0 / 1.529 GB, free: 5.922 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.01714/1.135, allocations: 4.058 MB / 1.533 GB, free: 1.832 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/1.135, allocations: 205.2 kB / 1.533 GB, free: 1.59 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.137, allocations: 0.7903 MB / 1.534 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/1.137, allocations: 57.64 kB / 1.534 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/1.137, allocations: 497.7 kB / 1.535 GB, free: 240 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/1.138, allocations: 456.3 kB / 1.535 GB, free: 15.78 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005649/1.138, allocations: 270.7 kB / 1.535 GB, free: 15.51 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.138, allocations: 345.9 kB / 1.536 GB, free: 15.17 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005256/1.144, allocations: 1.181 MB / 1.537 GB, free: 13.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0053/1.149, allocations: 1.327 MB / 1.538 GB, free: 12.62 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009784/1.159, allocations: 2.289 MB / 1.54 GB, free: 10.32 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.159, allocations: 0 / 1.54 GB, free: 10.32 MB / 1.217 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01142/1.17, allocations: 2.717 MB / 1.543 GB, free: 7.594 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.17, allocations: 8 kB / 1.543 GB, free: 7.586 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.17, allocations: 4.062 kB / 1.543 GB, free: 7.582 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/1.171, allocations: 80.77 kB / 1.543 GB, free: 7.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/1.174, allocations: 0.5108 MB / 1.544 GB, free: 6.988 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.176, allocations: 1.652 MB / 1.545 GB, free: 5.195 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/1.179, allocations: 366.9 kB / 1.546 GB, free: 4.836 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/1.18, allocations: 67.91 kB / 1.546 GB, free: 4.77 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 (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 (142): * Single equations (assignments): 141 * 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.0007066/1.18, allocations: 338.8 kB / 1.546 GB, free: 4.43 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/1.181, allocations: 115.2 kB / 1.546 GB, free: 4.316 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.194, allocations: 3.305 MB / 1.549 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.194, allocations: 12 kB / 1.549 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.194, allocations: 0 / 1.549 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/1.194, allocations: 7.969 kB / 1.549 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/1.208, allocations: 4.913 MB / 1.554 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.208, allocations: 4 kB / 1.554 GB, free: 11.99 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/1.211, allocations: 0.4953 MB / 1.555 GB, free: 11.49 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/1.212, allocations: 72.78 kB / 1.555 GB, free: 11.42 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/1.212, allocations: 55.92 kB / 1.555 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/1.214, allocations: 1.678 MB / 1.556 GB, free: 9.539 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.214, allocations: 0 / 1.556 GB, free: 9.539 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.226, allocations: 2.923 MB / 1.559 GB, free: 6.594 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008559/1.226, allocations: 459.7 kB / 1.56 GB, free: 6.125 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/1.227, allocations: 24 kB / 1.56 GB, free: 6.102 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/1.23, allocations: 315.5 kB / 1.56 GB, free: 5.793 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/1.23, allocations: 101.1 kB / 1.56 GB, free: 5.695 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.23, allocations: 67.92 kB / 1.56 GB, free: 5.629 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008198/1.231, allocations: 0.5848 MB / 1.561 GB, free: 5.047 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.231, allocations: 7.938 kB / 1.561 GB, free: 5.039 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001364/1.232, allocations: 499 kB / 1.561 GB, free: 4.551 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,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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 138 * 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.01361/1.246, allocations: 4.004 MB / 1.565 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.257, allocations: 2.746 MB / 1.568 GB, free: 13.93 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.257, allocations: 8.125 kB / 1.568 GB, free: 13.93 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00566/1.263, allocations: 1.493 MB / 1.569 GB, free: 12.42 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.264, allocations: 331.1 kB / 1.57 GB, free: 12.12 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04059/1.305, allocations: 13.49 MB / 1.583 GB, free: 14.47 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008873/1.306, allocations: 1.164 MB / 1.584 GB, free: 13.27 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00204/1.308, allocations: 0.5558 MB / 1.585 GB, free: 12.71 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.309, allocations: 0.5577 MB / 1.585 GB, free: 12.16 MB / 1.264 GB Notification: Performance of SimCode: time 1.042e-06/1.309, allocations: 0 / 1.585 GB, free: 12.16 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0716/1.381, allocations: 33.64 MB / 1.618 GB, free: 10.79 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/15.42, allocations: 16.77 kB / 1.618 GB, free: 10.78 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.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: 21.92177920503309]