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.001257/0.001257, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001409/0.001409, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.789 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.975/2.975, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.001949/0.001949, allocations: 69.5 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007974/0.3056, allocations: 5.256 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1581/0.4637, allocations: 133.3 MB / 1.46 GB, free: 7.176 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000921/0.4646, allocations: 27.81 kB / 1.46 GB, free: 7.148 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008006/0.4654, allocations: 229.8 kB / 1.461 GB, free: 6.922 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.4677, allocations: 0.6824 MB / 1.461 GB, free: 6.238 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.4701, allocations: 0.9975 MB / 1.462 GB, free: 5.246 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0023/0.4724, allocations: 1.925 MB / 1.464 GB, free: 3.316 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/0.4734, allocations: 0.4998 MB / 1.465 GB, free: 2.777 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.4744, allocations: 0.7048 MB / 1.465 GB, free: 2.07 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.4757, allocations: 0.6806 MB / 1.466 GB, free: 1.387 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0005294/0.4763, allocations: 168 kB / 1.466 GB, free: 1.223 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.478, allocations: 0.6441 MB / 1.467 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006651/0.4787, allocations: 458.6 kB / 1.467 GB, free: 132 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.4798, allocations: 0.6338 MB / 1.468 GB, free: 15.49 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.4827, allocations: 2.284 MB / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4827, allocations: 0 / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4827, allocations: 0 / 1.47 GB, free: 13.2 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.83e-05/0.4828, allocations: 0 / 1.47 GB, free: 13.2 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.00393/0.4867, allocations: 1.822 MB / 1.472 GB, free: 11.33 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4867, allocations: 8.031 kB / 1.472 GB, free: 11.32 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002804/0.487, allocations: 186 kB / 1.472 GB, free: 11.13 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.4973, allocations: 1.373 MB / 1.473 GB, free: 9.754 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002494/0.4998, allocations: 0.9287 MB / 1.474 GB, free: 8.801 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.4999, allocations: 98.38 kB / 1.474 GB, free: 8.703 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004004/0.5003, allocations: 120 kB / 1.475 GB, free: 8.586 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006006/0.5063, allocations: 2.289 MB / 1.477 GB, free: 6.172 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.5064, allocations: 3.938 kB / 1.477 GB, free: 6.168 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.5066, allocations: 51.98 kB / 1.477 GB, free: 6.117 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.5066, allocations: 28 kB / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007967/0.5146, allocations: 2.713 MB / 1.48 GB, free: 3.367 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009335/0.5239, allocations: 3.979 MB / 1.483 GB, free: 15.31 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008237/0.5321, allocations: 2.579 MB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/0.5353, allocations: 0.9872 MB / 1.487 GB, free: 11.73 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/0.5357, allocations: 84.92 kB / 1.487 GB, free: 11.65 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00383/0.5395, allocations: 1.461 MB / 1.488 GB, free: 10.15 MB / 1.186 GB Notification: Performance of pre-optimization done (n=132): time 3.536e-06/0.5395, allocations: 0 / 1.488 GB, free: 10.15 MB / 1.186 GB Notification: Performance of matching and sorting (n=132): time 0.01142/0.5509, allocations: 3.316 MB / 1.492 GB, free: 6.824 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.5511, allocations: 201.2 kB / 1.492 GB, free: 6.582 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.5524, allocations: 0.7981 MB / 1.493 GB, free: 5.77 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.5526, allocations: 49.64 kB / 1.493 GB, free: 5.715 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.553, allocations: 0.5017 MB / 1.493 GB, free: 5.207 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004557/0.5535, allocations: 444.1 kB / 1.494 GB, free: 4.77 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005106/0.554, allocations: 258.8 kB / 1.494 GB, free: 4.512 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5542, allocations: 353.9 kB / 1.494 GB, free: 4.16 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003109/0.5573, allocations: 0.9391 MB / 1.495 GB, free: 3.219 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003512/0.5608, allocations: 1.243 MB / 1.496 GB, free: 1.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006517/0.5673, allocations: 1.911 MB / 1.498 GB, free: 15.98 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.5673, allocations: 0 / 1.498 GB, free: 15.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008034/0.5753, allocations: 2.281 MB / 1.5 GB, free: 13.69 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5754, allocations: 8.062 kB / 1.5 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.5754, allocations: 4 kB / 1.5 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006325/0.576, allocations: 80.77 kB / 1.5 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/0.5784, allocations: 423.3 kB / 1.501 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.5809, allocations: 1.549 MB / 1.502 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.5831, allocations: 275 kB / 1.503 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.5833, allocations: 63.92 kB / 1.503 GB, free: 11.18 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.0007737/0.584, allocations: 333.2 kB / 1.503 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/0.5845, allocations: 115.2 kB / 1.503 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008862/0.5933, allocations: 2.731 MB / 1.506 GB, free: 7.988 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.5933, allocations: 16 kB / 1.506 GB, free: 7.973 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5933, allocations: 0 / 1.506 GB, free: 7.973 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/0.5934, allocations: 7.969 kB / 1.506 GB, free: 7.965 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.6046, allocations: 4.025 MB / 1.51 GB, free: 3.887 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.6047, allocations: 0 / 1.51 GB, free: 3.887 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/0.6071, allocations: 411.3 kB / 1.51 GB, free: 3.484 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004631/0.6075, allocations: 80.77 kB / 1.51 GB, free: 3.402 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.6077, allocations: 47.94 kB / 1.51 GB, free: 3.355 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.61, allocations: 1.559 MB / 1.512 GB, free: 1.676 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.61, allocations: 0 / 1.512 GB, free: 1.676 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/0.618, allocations: 2.51 MB / 1.514 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.6192, allocations: 354.6 kB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.6196, allocations: 31.98 kB / 1.515 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/0.6218, allocations: 231.7 kB / 1.515 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.6221, allocations: 113 kB / 1.515 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/0.6222, allocations: 59.94 kB / 1.515 GB, free: 14.36 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001139/0.6234, allocations: 0.5809 MB / 1.516 GB, free: 13.79 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6234, allocations: 0 / 1.516 GB, free: 13.79 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001692/0.6251, allocations: 0.4989 MB / 1.516 GB, free: 13.29 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.01091/0.636, allocations: 3.639 MB / 1.52 GB, free: 9.832 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007512/0.6435, allocations: 2.27 MB / 1.522 GB, free: 7.547 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6435, allocations: 4 kB / 1.522 GB, free: 7.543 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003861/0.6474, allocations: 1.259 MB / 1.523 GB, free: 6.273 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.6491, allocations: 340.1 kB / 1.523 GB, free: 5.961 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03134/0.6805, allocations: 12.1 MB / 1.535 GB, free: 9.699 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/0.6813, allocations: 0.568 MB / 1.536 GB, free: 9.094 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001841/0.6831, allocations: 477.4 kB / 1.536 GB, free: 8.625 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.6843, allocations: 0.5538 MB / 1.537 GB, free: 8.07 MB / 1.232 GB Notification: Performance of SimCode: time 8.72e-07/0.6843, allocations: 0 / 1.537 GB, free: 8.07 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08192/0.7662, allocations: 34.35 MB / 1.57 GB, free: 6.055 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.55, allocations: 4.906 kB / 1.57 GB, free: 6.055 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: 21.014878295361996]