Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001707/0.001707, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002103/0.002103, allocations: 219 kB / 22.26 MB, free: 5.125 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.167/3.167, allocations: 0.49 GB / 0.7951 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",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.002084/0.002084, allocations: 65.95 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.334, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008702/0.3427, allocations: 5.926 MB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1864/0.5291, allocations: 154.9 MB / 1.483 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009979/0.5301, allocations: 23.81 kB / 1.483 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008816/0.5309, allocations: 229.9 kB / 1.483 GB, free: 284 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.5333, allocations: 0.6795 MB / 1.484 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.5359, allocations: 1.011 MB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.5388, allocations: 1.944 MB / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.5401, allocations: 0.5154 MB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.5413, allocations: 0.7048 MB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.5426, allocations: 0.751 MB / 1.489 GB, free: 10.63 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004578/0.543, allocations: 164 kB / 1.489 GB, free: 10.47 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.5446, allocations: 0.6908 MB / 1.489 GB, free: 9.777 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005719/0.5452, allocations: 450.6 kB / 1.49 GB, free: 9.336 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009997/0.5462, allocations: 0.7736 MB / 1.491 GB, free: 8.559 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.5492, allocations: 2.277 MB / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5492, allocations: 0 / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5492, allocations: 0 / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.27e-05/0.5493, allocations: 0 / 1.493 GB, free: 6.273 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.003705/0.553, allocations: 1.822 MB / 1.495 GB, free: 4.402 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.553, allocations: 8.031 kB / 1.495 GB, free: 4.395 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002323/0.5532, allocations: 186 kB / 1.495 GB, free: 4.203 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.5641, allocations: 1.377 MB / 1.496 GB, free: 2.824 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.5663, allocations: 0.9286 MB / 1.497 GB, free: 1.871 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/0.5664, allocations: 94.45 kB / 1.497 GB, free: 1.777 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.5666, allocations: 120 kB / 1.497 GB, free: 1.66 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005995/0.5726, allocations: 2.041 MB / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.5727, allocations: 0 / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.5729, allocations: 55.94 kB / 1.499 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.5729, allocations: 28 kB / 1.499 GB, free: 15.47 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00811/0.581, allocations: 2.756 MB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009822/0.5908, allocations: 4.759 MB / 1.507 GB, free: 7.781 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008037/0.5989, allocations: 2.581 MB / 1.509 GB, free: 5.199 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003174/0.602, allocations: 0.9912 MB / 1.51 GB, free: 4.199 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.6024, allocations: 89.03 kB / 1.51 GB, free: 4.113 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003711/0.6061, allocations: 1.356 MB / 1.512 GB, free: 2.738 MB / 1.201 GB Notification: Performance of pre-optimization done (n=132): time 2.855e-06/0.6061, allocations: 0 / 1.512 GB, free: 2.738 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.01103/0.6172, allocations: 3.32 MB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.6173, allocations: 197.2 kB / 1.515 GB, free: 15.17 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.6187, allocations: 0.7942 MB / 1.516 GB, free: 14.36 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.6188, allocations: 53.7 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.6193, allocations: 497.7 kB / 1.516 GB, free: 13.81 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004677/0.6198, allocations: 460 kB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004868/0.6203, allocations: 246.8 kB / 1.517 GB, free: 13.12 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.6205, allocations: 353.9 kB / 1.517 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.6235, allocations: 0.9431 MB / 1.518 GB, free: 11.82 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/0.6266, allocations: 1.097 MB / 1.519 GB, free: 10.7 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006138/0.6328, allocations: 1.899 MB / 1.521 GB, free: 8.777 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6328, allocations: 0 / 1.521 GB, free: 8.777 MB / 1.217 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007831/0.6406, allocations: 2.281 MB / 1.523 GB, free: 6.484 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.6406, allocations: 8 kB / 1.523 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.6407, allocations: 4.062 kB / 1.523 GB, free: 6.473 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/0.6413, allocations: 92.77 kB / 1.524 GB, free: 6.379 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.6437, allocations: 411.3 kB / 1.524 GB, free: 5.977 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.646, allocations: 1.56 MB / 1.525 GB, free: 4.297 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.6483, allocations: 279 kB / 1.526 GB, free: 4.023 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.6485, allocations: 59.92 kB / 1.526 GB, free: 3.965 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.000756/0.6492, allocations: 334 kB / 1.526 GB, free: 3.633 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.6496, allocations: 115.2 kB / 1.526 GB, free: 3.52 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008362/0.6579, allocations: 2.727 MB / 1.529 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.6579, allocations: 19.94 kB / 1.529 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6579, allocations: 0 / 1.529 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.658, allocations: 11.95 kB / 1.529 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.6687, allocations: 4.306 MB / 1.533 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.6688, allocations: 0 / 1.533 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/0.6711, allocations: 415.3 kB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/0.6716, allocations: 72.8 kB / 1.534 GB, free: 11.9 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.6717, allocations: 47.94 kB / 1.534 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.6739, allocations: 1.574 MB / 1.535 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6739, allocations: 0 / 1.535 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/0.6816, allocations: 2.498 MB / 1.538 GB, free: 7.637 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.6827, allocations: 358.6 kB / 1.538 GB, free: 7.285 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/0.683, allocations: 31.98 kB / 1.538 GB, free: 7.254 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/0.6851, allocations: 223.7 kB / 1.538 GB, free: 7.035 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.6854, allocations: 113 kB / 1.538 GB, free: 6.926 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.6855, allocations: 68 kB / 1.538 GB, free: 6.859 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008463/0.6864, allocations: 0.5732 MB / 1.539 GB, free: 6.293 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6864, allocations: 0 / 1.539 GB, free: 6.293 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00143/0.6878, allocations: 0.495 MB / 1.539 GB, free: 5.797 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 (147): * Single equations (assignments): 140 * 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.009929/0.6977, allocations: 3.601 MB / 1.543 GB, free: 2.348 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007124/0.7049, allocations: 2.277 MB / 1.545 GB, free: 56 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7049, allocations: 4 kB / 1.545 GB, free: 52 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003698/0.7086, allocations: 1.255 MB / 1.546 GB, free: 14.79 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.7102, allocations: 332.5 kB / 1.547 GB, free: 14.48 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/0.7399, allocations: 12.1 MB / 1.559 GB, free: 2.211 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/0.7409, allocations: 1.163 MB / 1.56 GB, free: 1.016 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00174/0.7426, allocations: 493.3 kB / 1.56 GB, free: 0.5312 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.7437, allocations: 0.5461 MB / 1.561 GB, free: 15.98 MB / 1.264 GB Notification: Performance of SimCode: time 8.42e-07/0.7437, allocations: 3.938 kB / 1.561 GB, free: 15.98 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0828/0.8265, allocations: 33.13 MB / 1.593 GB, free: 15.11 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.27, allocations: 0 / 1.593 GB, free: 15.11 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 23.177160494960845]