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.001612/0.001612, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.001974/0.001974, allocations: 222.2 kB / 22.25 MB, free: 5.105 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.809 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.181/3.181, allocations: 0.49 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] 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.001954/0.001954, allocations: 69.36 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3304, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007969/0.3384, allocations: 5.27 MB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1654/0.5038, allocations: 133.3 MB / 1.461 GB, free: 6.379 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.5051, allocations: 27.81 kB / 1.461 GB, free: 6.352 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008202/0.506, allocations: 241.7 kB / 1.461 GB, free: 6.113 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.5085, allocations: 0.6802 MB / 1.462 GB, free: 5.434 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00243/0.511, allocations: 0.9861 MB / 1.463 GB, free: 4.453 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.5133, allocations: 1.932 MB / 1.465 GB, free: 2.516 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009656/0.5143, allocations: 0.5193 MB / 1.465 GB, free: 1.957 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.5154, allocations: 0.7009 MB / 1.466 GB, free: 1.254 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000915/0.5163, allocations: 0.7548 MB / 1.467 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.5165, allocations: 168 kB / 1.467 GB, free: 340 kB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.5177, allocations: 0.6714 MB / 1.468 GB, free: 15.66 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.5182, allocations: 458.6 kB / 1.468 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000655/0.5188, allocations: 0.6299 MB / 1.469 GB, free: 14.58 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.5221, allocations: 2.284 MB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.5221, allocations: 4 kB / 1.471 GB, free: 12.28 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.726e-06/0.5221, allocations: 0 / 1.471 GB, free: 12.28 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.231e-05/0.5221, allocations: 0 / 1.471 GB, free: 12.28 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.003961/0.5261, allocations: 1.827 MB / 1.473 GB, free: 10.41 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5261, allocations: 8.031 kB / 1.473 GB, free: 10.4 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.5263, allocations: 182 kB / 1.473 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.5369, allocations: 1.385 MB / 1.474 GB, free: 8.824 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.5391, allocations: 0.9286 MB / 1.475 GB, free: 7.871 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.5392, allocations: 94.45 kB / 1.475 GB, free: 7.777 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.5395, allocations: 116 kB / 1.475 GB, free: 7.664 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005277/0.5447, allocations: 2.292 MB / 1.478 GB, free: 5.246 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.5448, allocations: 0 / 1.478 GB, free: 5.246 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.5449, allocations: 55.98 kB / 1.478 GB, free: 5.191 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.545, allocations: 28 kB / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007519/0.5525, allocations: 2.71 MB / 1.48 GB, free: 2.445 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009628/0.5621, allocations: 3.981 MB / 1.484 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007994/0.5701, allocations: 2.576 MB / 1.487 GB, free: 11.81 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/0.5732, allocations: 0.9966 MB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003622/0.5736, allocations: 80.94 kB / 1.488 GB, free: 10.73 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00376/0.5774, allocations: 1.464 MB / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 3.596e-06/0.5774, allocations: 0 / 1.489 GB, free: 9.223 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01124/0.5886, allocations: 3.312 MB / 1.493 GB, free: 5.902 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.5887, allocations: 201.2 kB / 1.493 GB, free: 5.66 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.59, allocations: 0.7981 MB / 1.493 GB, free: 4.848 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.5902, allocations: 49.64 kB / 1.494 GB, free: 4.793 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.5906, allocations: 0.4938 MB / 1.494 GB, free: 4.293 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000488/0.5911, allocations: 460.1 kB / 1.494 GB, free: 3.84 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004988/0.5916, allocations: 246.8 kB / 1.495 GB, free: 3.594 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5918, allocations: 353.9 kB / 1.495 GB, free: 3.242 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/0.5948, allocations: 0.9391 MB / 1.496 GB, free: 2.301 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/0.5979, allocations: 1.247 MB / 1.497 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005959/0.6039, allocations: 1.903 MB / 1.499 GB, free: 15.06 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.6039, allocations: 0 / 1.499 GB, free: 15.06 MB / 1.201 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007303/0.6112, allocations: 2.288 MB / 1.501 GB, free: 12.76 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.6112, allocations: 4 kB / 1.501 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6113, allocations: 4 kB / 1.501 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/0.6119, allocations: 80.81 kB / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/0.6143, allocations: 419.3 kB / 1.502 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.6166, allocations: 1.542 MB / 1.503 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.619, allocations: 283 kB / 1.504 GB, free: 10.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.6191, allocations: 55.94 kB / 1.504 GB, free: 10.27 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.0007859/0.6199, allocations: 333 kB / 1.504 GB, free: 9.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/0.6203, allocations: 115.2 kB / 1.504 GB, free: 9.816 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008238/0.6285, allocations: 2.727 MB / 1.507 GB, free: 7.074 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.6285, allocations: 16 kB / 1.507 GB, free: 7.059 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.6285, allocations: 0 / 1.507 GB, free: 7.059 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.6286, allocations: 15.89 kB / 1.507 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.639, allocations: 4.025 MB / 1.511 GB, free: 2.969 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.639, allocations: 0 / 1.511 GB, free: 2.969 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002432/0.6414, allocations: 407.3 kB / 1.511 GB, free: 2.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.6419, allocations: 80.78 kB / 1.511 GB, free: 2.488 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.6421, allocations: 47.94 kB / 1.511 GB, free: 2.441 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.6441, allocations: 1.574 MB / 1.513 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6441, allocations: 0 / 1.513 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007785/0.6519, allocations: 2.502 MB / 1.515 GB, free: 14.22 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.653, allocations: 354.6 kB / 1.515 GB, free: 13.87 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.6533, allocations: 39.88 kB / 1.515 GB, free: 13.83 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002045/0.6553, allocations: 226.3 kB / 1.516 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.6555, allocations: 113 kB / 1.516 GB, free: 13.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/0.6557, allocations: 59.94 kB / 1.516 GB, free: 13.45 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008067/0.6565, allocations: 0.577 MB / 1.516 GB, free: 12.87 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6565, allocations: 4 kB / 1.516 GB, free: 12.87 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001386/0.6579, allocations: 0.4912 MB / 1.517 GB, free: 12.38 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.01007/0.668, allocations: 3.627 MB / 1.52 GB, free: 8.926 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007912/0.6759, allocations: 2.27 MB / 1.523 GB, free: 6.641 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.6759, allocations: 0 / 1.523 GB, free: 6.641 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004158/0.68, allocations: 1.259 MB / 1.524 GB, free: 5.371 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.6821, allocations: 349.1 kB / 1.524 GB, free: 5.055 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03192/0.714, allocations: 12.11 MB / 1.536 GB, free: 8.789 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.7148, allocations: 0.5734 MB / 1.537 GB, free: 8.18 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002069/0.7169, allocations: 481.4 kB / 1.537 GB, free: 7.707 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/0.7181, allocations: 0.5538 MB / 1.538 GB, free: 7.152 MB / 1.232 GB Notification: Performance of SimCode: time 2.144e-06/0.7181, allocations: 0 / 1.538 GB, free: 7.152 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0841/0.8022, allocations: 34.73 MB / 1.572 GB, free: 4.734 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.1, allocations: 7.453 kB / 1.572 GB, free: 4.73 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 & /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: 22.087737399007892]