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.001661/0.001661, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001928/0.001928, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.15/3.15, allocations: 0.49 GB / 0.7959 GB, free: 33.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="cs",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.002013/0.002013, allocations: 60.09 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.008572/0.3203, allocations: 5.929 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.5056, allocations: 154.8 MB / 1.484 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.5066, allocations: 23.81 kB / 1.484 GB, free: 0.543 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006867/0.5072, allocations: 229.9 kB / 1.484 GB, free: 324 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.5093, allocations: 0.6818 MB / 1.485 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.5118, allocations: 1.015 MB / 1.486 GB, free: 14.63 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002699/0.5145, allocations: 1.936 MB / 1.487 GB, free: 12.69 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009877/0.5155, allocations: 0.5154 MB / 1.488 GB, free: 12.14 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.5166, allocations: 0.7087 MB / 1.489 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.5177, allocations: 0.751 MB / 1.489 GB, free: 10.67 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002644/0.518, allocations: 164 kB / 1.49 GB, free: 10.51 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.5193, allocations: 0.6908 MB / 1.49 GB, free: 9.82 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.5198, allocations: 446.6 kB / 1.491 GB, free: 9.383 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008431/0.5206, allocations: 0.7852 MB / 1.491 GB, free: 8.594 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.5238, allocations: 2.273 MB / 1.494 GB, free: 6.312 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5238, allocations: 0 / 1.494 GB, free: 6.312 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5238, allocations: 0 / 1.494 GB, free: 6.312 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.5238, allocations: 0 / 1.494 GB, free: 6.312 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.003871/0.5277, allocations: 1.828 MB / 1.495 GB, free: 4.438 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5277, allocations: 8.031 kB / 1.495 GB, free: 4.43 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.097e-05/0.5277, allocations: 38.62 kB / 1.495 GB, free: 4.391 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000225/0.528, allocations: 182 kB / 1.496 GB, free: 4.203 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.539, allocations: 1.377 MB / 1.497 GB, free: 2.824 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.5411, allocations: 0.9324 MB / 1.498 GB, free: 1.867 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.5412, allocations: 86.45 kB / 1.498 GB, free: 1.781 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.5415, allocations: 120 kB / 1.498 GB, free: 1.664 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005703/0.5472, allocations: 2.034 MB / 1.5 GB, free: 15.57 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.5472, allocations: 3.938 kB / 1.5 GB, free: 15.56 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.5474, allocations: 52 kB / 1.5 GB, free: 15.51 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.5474, allocations: 32 kB / 1.5 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008627/0.5561, allocations: 2.76 MB / 1.503 GB, free: 12.71 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01059/0.5667, allocations: 4.759 MB / 1.508 GB, free: 7.785 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008744/0.5754, allocations: 2.573 MB / 1.51 GB, free: 5.203 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/0.5788, allocations: 0.9989 MB / 1.511 GB, free: 4.199 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.5792, allocations: 85.05 kB / 1.511 GB, free: 4.117 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004087/0.5833, allocations: 1.356 MB / 1.512 GB, free: 2.742 MB / 1.201 GB Notification: Performance of pre-optimization done (n=132): time 3.356e-06/0.5833, allocations: 3.938 kB / 1.512 GB, free: 2.738 MB / 1.201 GB Notification: Performance of matching and sorting (n=132): time 0.01221/0.5955, allocations: 3.312 MB / 1.516 GB, free: 15.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.5956, allocations: 197.2 kB / 1.516 GB, free: 15.18 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.5968, allocations: 0.7981 MB / 1.517 GB, free: 14.37 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/0.597, allocations: 49.7 kB / 1.517 GB, free: 14.32 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.5975, allocations: 0.4977 MB / 1.517 GB, free: 13.82 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.5979, allocations: 452 kB / 1.518 GB, free: 13.37 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.5985, allocations: 254.8 kB / 1.518 GB, free: 13.12 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5986, allocations: 353.9 kB / 1.518 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003304/0.6019, allocations: 0.9391 MB / 1.519 GB, free: 11.82 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00359/0.6055, allocations: 1.089 MB / 1.52 GB, free: 10.7 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006728/0.6122, allocations: 1.903 MB / 1.522 GB, free: 8.781 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.6122, allocations: 0 / 1.522 GB, free: 8.781 MB / 1.217 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008333/0.6206, allocations: 2.284 MB / 1.524 GB, free: 6.484 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.6206, allocations: 8.062 kB / 1.524 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.6206, allocations: 0 / 1.524 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/0.6213, allocations: 92.75 kB / 1.524 GB, free: 6.383 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.6238, allocations: 419.3 kB / 1.525 GB, free: 5.973 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.6262, allocations: 1.559 MB / 1.526 GB, free: 4.297 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.6287, allocations: 279 kB / 1.527 GB, free: 4.023 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/0.6289, allocations: 59.94 kB / 1.527 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.000828/0.6298, allocations: 339.5 kB / 1.527 GB, free: 3.625 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.6301, allocations: 115.2 kB / 1.527 GB, free: 3.512 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009194/0.6393, allocations: 2.731 MB / 1.53 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.6394, allocations: 16 kB / 1.53 GB, free: 0.75 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6394, allocations: 0 / 1.53 GB, free: 0.75 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.6394, allocations: 7.969 kB / 1.53 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.651, allocations: 4.306 MB / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.651, allocations: 0 / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002554/0.6536, allocations: 407.4 kB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.6541, allocations: 80.78 kB / 1.534 GB, free: 11.9 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/0.6543, allocations: 51.94 kB / 1.534 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.6565, allocations: 1.574 MB / 1.536 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.6565, allocations: 3.984 kB / 1.536 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008504/0.665, allocations: 2.494 MB / 1.538 GB, free: 7.633 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.6661, allocations: 362.6 kB / 1.539 GB, free: 7.277 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003083/0.6664, allocations: 32 kB / 1.539 GB, free: 7.246 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.6686, allocations: 219.7 kB / 1.539 GB, free: 7.031 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.6689, allocations: 113 kB / 1.539 GB, free: 6.922 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.6691, allocations: 63.94 kB / 1.539 GB, free: 6.859 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009127/0.67, allocations: 0.5732 MB / 1.54 GB, free: 6.293 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/0.67, allocations: 4 kB / 1.54 GB, free: 6.289 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001576/0.6716, allocations: 0.4911 MB / 1.54 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.01101/0.6826, allocations: 3.594 MB / 1.544 GB, free: 2.348 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.008175/0.6907, allocations: 2.274 MB / 1.546 GB, free: 64 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6907, allocations: 0 / 1.546 GB, free: 64 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004262/0.695, allocations: 1.259 MB / 1.547 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.002/0.697, allocations: 334.4 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.03377/0.7308, allocations: 12.12 MB / 1.559 GB, free: 2.203 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/0.7317, allocations: 1.163 MB / 1.56 GB, free: 1.008 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001824/0.7335, allocations: 497.3 kB / 1.561 GB, free: 0.5195 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/0.7349, allocations: 0.55 MB / 1.561 GB, free: 15.96 MB / 1.264 GB Notification: Performance of SimCode: time 1.553e-06/0.7349, allocations: 0 / 1.561 GB, free: 15.96 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08036/0.8153, allocations: 33.17 MB / 1.594 GB, free: 15.07 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.54, allocations: 4.062 kB / 1.594 GB, free: 15.07 MB / 1.295 GB " [Timeout remaining time 283] (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.52999395201914]