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.001465/0.001465, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.00163/0.00163, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.381/1.381, allocations: 230.6 MB / 252.8 MB, free: 9.117 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 2.971/2.971, allocations: 0.49 GB / 0.7916 GB, free: 33.45 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.001936/0.001936, allocations: 67.22 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3257, allocations: 176.1 MB / 1.321 GB, free: 3.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00794/0.3337, allocations: 5.887 MB / 1.327 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.5128, allocations: 154.7 MB / 1.478 GB, free: 2.105 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009685/0.5138, allocations: 27.81 kB / 1.478 GB, free: 2.078 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.5148, allocations: 229.8 kB / 1.478 GB, free: 1.852 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.5172, allocations: 0.6822 MB / 1.479 GB, free: 1.168 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.5198, allocations: 0.9853 MB / 1.48 GB, free: 196 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002827/0.5226, allocations: 1.928 MB / 1.481 GB, free: 14.26 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.5238, allocations: 0.5258 MB / 1.482 GB, free: 13.7 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.525, allocations: 0.7009 MB / 1.483 GB, free: 12.99 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.5261, allocations: 0.7548 MB / 1.483 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003681/0.5265, allocations: 168 kB / 1.484 GB, free: 12.07 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.5281, allocations: 0.683 MB / 1.484 GB, free: 11.39 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005571/0.5287, allocations: 450.6 kB / 1.485 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.5297, allocations: 0.7775 MB / 1.485 GB, free: 10.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.5333, allocations: 2.273 MB / 1.488 GB, free: 7.883 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.5333, allocations: 4 kB / 1.488 GB, free: 7.879 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5333, allocations: 0 / 1.488 GB, free: 7.879 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.015e-05/0.5333, allocations: 0 / 1.488 GB, free: 7.879 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.004219/0.5376, allocations: 1.894 MB / 1.489 GB, free: 5.918 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5376, allocations: 11.98 kB / 1.489 GB, free: 5.906 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002631/0.5379, allocations: 190 kB / 1.49 GB, free: 5.711 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.5485, allocations: 1.377 MB / 1.491 GB, free: 4.332 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.5506, allocations: 0.9931 MB / 1.492 GB, free: 3.297 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.794e-05/0.5507, allocations: 90.45 kB / 1.492 GB, free: 3.207 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003341/0.551, allocations: 116 kB / 1.492 GB, free: 3.094 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00566/0.5567, allocations: 2.041 MB / 1.494 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.5567, allocations: 0 / 1.494 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.5569, allocations: 51.98 kB / 1.494 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.5569, allocations: 32 kB / 1.494 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008401/0.5653, allocations: 2.76 MB / 1.497 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009709/0.5751, allocations: 4.822 MB / 1.502 GB, free: 9.148 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009071/0.5841, allocations: 2.657 MB / 1.504 GB, free: 6.465 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003377/0.5875, allocations: 0.995 MB / 1.505 GB, free: 5.469 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006442/0.5881, allocations: 0.618 MB / 1.506 GB, free: 4.719 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003967/0.5921, allocations: 1.352 MB / 1.507 GB, free: 3.348 MB / 1.201 GB Notification: Performance of pre-optimization done (n=132): time 3.387e-06/0.5921, allocations: 4 kB / 1.507 GB, free: 3.344 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.01211/0.6042, allocations: 3.379 MB / 1.51 GB, free: 15.94 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.6044, allocations: 201.2 kB / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.6057, allocations: 0.802 MB / 1.511 GB, free: 14.88 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.6058, allocations: 49.7 kB / 1.511 GB, free: 14.83 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/0.6063, allocations: 0.4938 MB / 1.512 GB, free: 14.33 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.6067, allocations: 448.2 kB / 1.512 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005361/0.6073, allocations: 254.8 kB / 1.513 GB, free: 13.63 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6074, allocations: 345.9 kB / 1.513 GB, free: 13.29 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/0.6107, allocations: 0.9509 MB / 1.514 GB, free: 12.34 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003452/0.6142, allocations: 1.089 MB / 1.515 GB, free: 11.22 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/0.6208, allocations: 1.899 MB / 1.517 GB, free: 9.301 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.6208, allocations: 0 / 1.517 GB, free: 9.301 MB / 1.217 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007998/0.6288, allocations: 2.284 MB / 1.519 GB, free: 7.004 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6288, allocations: 4 kB / 1.519 GB, free: 7 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.6288, allocations: 0 / 1.519 GB, free: 7 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.6294, allocations: 84.84 kB / 1.519 GB, free: 6.914 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.6318, allocations: 427.2 kB / 1.519 GB, free: 6.496 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.634, allocations: 1.664 MB / 1.521 GB, free: 4.691 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.6363, allocations: 279.2 kB / 1.521 GB, free: 4.418 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.6365, allocations: 55.94 kB / 1.521 GB, free: 4.363 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.0007615/0.6372, allocations: 333 kB / 1.522 GB, free: 4.027 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003704/0.6376, allocations: 123.2 kB / 1.522 GB, free: 3.906 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/0.6461, allocations: 2.723 MB / 1.525 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.6461, allocations: 16 kB / 1.525 GB, free: 1.148 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6462, allocations: 0 / 1.525 GB, free: 1.148 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.6462, allocations: 7.969 kB / 1.525 GB, free: 1.141 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.6568, allocations: 4.334 MB / 1.529 GB, free: 12.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6568, allocations: 0 / 1.529 GB, free: 12.75 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002304/0.6591, allocations: 415.4 kB / 1.529 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/0.6595, allocations: 72.78 kB / 1.529 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.6597, allocations: 55.88 kB / 1.529 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.6618, allocations: 1.682 MB / 1.531 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6618, allocations: 4.031 kB / 1.531 GB, free: 10.38 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008053/0.6699, allocations: 2.502 MB / 1.533 GB, free: 7.848 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008319/0.6707, allocations: 431.7 kB / 1.534 GB, free: 7.406 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.671, allocations: 28 kB / 1.534 GB, free: 7.379 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/0.6731, allocations: 227.7 kB / 1.534 GB, free: 7.156 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/0.6734, allocations: 109.1 kB / 1.534 GB, free: 7.051 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.6735, allocations: 63.94 kB / 1.534 GB, free: 6.988 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009/0.6744, allocations: 0.5771 MB / 1.535 GB, free: 6.418 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.6744, allocations: 0 / 1.535 GB, free: 6.418 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001446/0.6759, allocations: 0.4912 MB / 1.535 GB, free: 5.926 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.0105/0.6864, allocations: 3.597 MB / 1.539 GB, free: 2.48 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007704/0.6941, allocations: 2.277 MB / 1.541 GB, free: 192 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6941, allocations: 8.062 kB / 1.541 GB, free: 184 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003896/0.698, allocations: 1.251 MB / 1.542 GB, free: 14.92 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.6998, allocations: 340.4 kB / 1.543 GB, free: 14.61 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03119/0.731, allocations: 12.1 MB / 1.554 GB, free: 2.352 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.7321, allocations: 1.165 MB / 1.555 GB, free: 1.16 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001832/0.7339, allocations: 493.3 kB / 1.556 GB, free: 0.6758 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.735, allocations: 0.5499 MB / 1.556 GB, free: 128 kB / 1.248 GB Notification: Performance of SimCode: time 1.052e-06/0.735, allocations: 0 / 1.556 GB, free: 128 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07837/0.8134, allocations: 32.2 MB / 1.588 GB, free: 188 kB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.85, allocations: 3.984 kB / 1.588 GB, free: 184 kB / 1.279 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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: 21.277101757004857]