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.001235/0.001235, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001339/0.001339, allocations: 222.5 kB / 22.25 MB, free: 5.254 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.812 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.967/2.967, allocations: 0.49 GB / 0.7951 GB, free: 35.37 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.001951/0.001951, allocations: 62.03 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3373, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007647/0.345, allocations: 5.266 MB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1677/0.5127, allocations: 133.3 MB / 1.461 GB, free: 6.355 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.5139, allocations: 31.75 kB / 1.461 GB, free: 6.324 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.5149, allocations: 229.8 kB / 1.461 GB, free: 6.098 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.5175, allocations: 0.6819 MB / 1.462 GB, free: 5.418 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.5201, allocations: 0.9933 MB / 1.463 GB, free: 4.43 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00267/0.5228, allocations: 1.936 MB / 1.465 GB, free: 2.488 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5239, allocations: 0.5115 MB / 1.465 GB, free: 1.938 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.5251, allocations: 0.7126 MB / 1.466 GB, free: 1.223 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.5264, allocations: 0.7587 MB / 1.467 GB, free: 472 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.5268, allocations: 164 kB / 1.467 GB, free: 308 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.5284, allocations: 0.6675 MB / 1.468 GB, free: 15.63 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.5289, allocations: 450.6 kB / 1.468 GB, free: 15.19 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007366/0.5296, allocations: 0.6338 MB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.5324, allocations: 2.284 MB / 1.471 GB, free: 12.26 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5324, allocations: 0 / 1.471 GB, free: 12.26 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5324, allocations: 4 kB / 1.471 GB, free: 12.26 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.38e-05/0.5324, allocations: 0 / 1.471 GB, free: 12.26 MB / 1.17 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.003448/0.5359, allocations: 1.815 MB / 1.473 GB, free: 10.39 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5359, allocations: 12.03 kB / 1.473 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002188/0.5361, allocations: 190 kB / 1.473 GB, free: 10.19 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009679/0.5458, allocations: 1.377 MB / 1.474 GB, free: 8.809 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.5478, allocations: 0.9209 MB / 1.475 GB, free: 7.863 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.5479, allocations: 102.4 kB / 1.475 GB, free: 7.762 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.5482, allocations: 116 kB / 1.475 GB, free: 7.648 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005215/0.5534, allocations: 2.292 MB / 1.478 GB, free: 5.23 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.5534, allocations: 0 / 1.478 GB, free: 5.23 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.5535, allocations: 52 kB / 1.478 GB, free: 5.18 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/0.5536, allocations: 28 kB / 1.478 GB, free: 5.152 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007566/0.5611, allocations: 2.713 MB / 1.48 GB, free: 2.43 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008633/0.5698, allocations: 3.983 MB / 1.484 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007809/0.5776, allocations: 2.583 MB / 1.487 GB, free: 11.78 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003058/0.5806, allocations: 0.9925 MB / 1.488 GB, free: 10.79 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003258/0.581, allocations: 80.92 kB / 1.488 GB, free: 10.71 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0037/0.5847, allocations: 1.456 MB / 1.489 GB, free: 9.207 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 3.496e-06/0.5847, allocations: 0 / 1.489 GB, free: 9.207 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01108/0.5957, allocations: 3.32 MB / 1.493 GB, free: 5.879 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/0.5959, allocations: 197.2 kB / 1.493 GB, free: 5.641 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.5972, allocations: 0.8097 MB / 1.494 GB, free: 4.816 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002328/0.5975, allocations: 49.7 kB / 1.494 GB, free: 4.762 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/0.5979, allocations: 0.4938 MB / 1.494 GB, free: 4.262 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.5984, allocations: 448.3 kB / 1.494 GB, free: 3.82 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/0.5988, allocations: 254.8 kB / 1.495 GB, free: 3.566 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.599, allocations: 349.9 kB / 1.495 GB, free: 3.219 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/0.6021, allocations: 0.9392 MB / 1.496 GB, free: 2.277 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/0.6054, allocations: 1.247 MB / 1.497 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006185/0.6116, allocations: 1.903 MB / 1.499 GB, free: 15.04 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6116, allocations: 3.938 kB / 1.499 GB, free: 15.04 MB / 1.201 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00733/0.6189, allocations: 2.284 MB / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.6189, allocations: 4 kB / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6189, allocations: 0 / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.6195, allocations: 92.81 kB / 1.501 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/0.6218, allocations: 415.3 kB / 1.502 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.624, allocations: 1.538 MB / 1.503 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.6261, allocations: 275 kB / 1.504 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.6263, allocations: 59.94 kB / 1.504 GB, free: 10.25 MB / 1.201 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.0007112/0.627, allocations: 341.2 kB / 1.504 GB, free: 9.906 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/0.6273, allocations: 115.2 kB / 1.504 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008076/0.6353, allocations: 2.723 MB / 1.507 GB, free: 7.055 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.6354, allocations: 12 kB / 1.507 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6354, allocations: 4 kB / 1.507 GB, free: 7.039 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.6354, allocations: 7.969 kB / 1.507 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.6455, allocations: 4.037 MB / 1.511 GB, free: 2.941 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6455, allocations: 0 / 1.511 GB, free: 2.941 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/0.6478, allocations: 407.3 kB / 1.511 GB, free: 2.543 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.6482, allocations: 76.78 kB / 1.511 GB, free: 2.465 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.6483, allocations: 51.94 kB / 1.511 GB, free: 2.414 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.6503, allocations: 1.563 MB / 1.513 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6503, allocations: 0 / 1.513 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007451/0.6577, allocations: 2.513 MB / 1.515 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009851/0.6587, allocations: 350.6 kB / 1.515 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.6589, allocations: 35.92 kB / 1.515 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/0.6608, allocations: 223.7 kB / 1.516 GB, free: 13.59 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.661, allocations: 117 kB / 1.516 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.6612, allocations: 67.88 kB / 1.516 GB, free: 13.41 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008585/0.662, allocations: 0.5732 MB / 1.516 GB, free: 12.84 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.662, allocations: 0 / 1.516 GB, free: 12.84 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001276/0.6633, allocations: 0.495 MB / 1.517 GB, free: 12.34 MB / 1.217 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.009756/0.6731, allocations: 3.636 MB / 1.52 GB, free: 8.895 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007081/0.6802, allocations: 2.27 MB / 1.523 GB, free: 6.609 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6802, allocations: 0 / 1.523 GB, free: 6.609 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003663/0.6838, allocations: 1.263 MB / 1.524 GB, free: 5.336 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.6854, allocations: 331.9 kB / 1.524 GB, free: 5.035 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/0.7147, allocations: 12.11 MB / 1.536 GB, free: 8.766 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/0.7154, allocations: 0.5742 MB / 1.537 GB, free: 8.156 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.001703/0.7171, allocations: 485.4 kB / 1.537 GB, free: 7.68 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/0.7182, allocations: 0.5538 MB / 1.538 GB, free: 7.125 MB / 1.233 GB Notification: Performance of SimCode: time 9.42e-07/0.7182, allocations: 0 / 1.538 GB, free: 7.125 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08352/0.8017, allocations: 34.71 MB / 1.572 GB, free: 4.746 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.37, allocations: 8 kB / 1.572 GB, free: 4.738 MB / 1.264 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: 20.7570673339942]