Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00846/0.00846, allocations: 102 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 193 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.76, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006118/0.7662, allocations: 5.092 MB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.9359, allocations: 151.2 MB / 1.24 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.937, allocations: 21.16 kB / 1.24 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.9377, allocations: 200 kB / 1.24 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.9397, allocations: 0.5921 MB / 1.241 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.9423, allocations: 0.9755 MB / 1.242 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.9447, allocations: 1.776 MB / 1.244 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.946, allocations: 0.8006 MB / 1.244 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.9471, allocations: 0.6718 MB / 1.245 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.9483, allocations: 0.7216 MB / 1.246 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.9487, allocations: 160 kB / 1.246 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.9501, allocations: 0.6362 MB / 1.247 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004827/0.9506, allocations: 446.6 kB / 1.247 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009997/0.9516, allocations: 0.7462 MB / 1.248 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/0.9545, allocations: 2.173 MB / 1.25 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9545, allocations: 0 / 1.25 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9545, allocations: 0 / 1.25 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.272e-05/0.9546, allocations: 0 / 1.25 GB, free: 7.484 MB / 0.9825 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.003593/0.9582, allocations: 1.799 MB / 1.252 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.9583, allocations: 8.031 kB / 1.252 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002382/0.9585, allocations: 190 kB / 1.252 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008756/0.9673, allocations: 1.278 MB / 1.253 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.9692, allocations: 0.9729 MB / 1.254 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/0.9693, allocations: 94.45 kB / 1.254 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000313/0.9696, allocations: 128 kB / 1.254 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/0.9748, allocations: 2.037 MB / 1.256 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.9748, allocations: 0 / 1.256 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.975, allocations: 55.94 kB / 1.256 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.975, allocations: 32 kB / 1.256 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007858/0.9829, allocations: 2.76 MB / 1.259 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008701/0.9916, allocations: 4.426 MB / 1.263 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008207/0.9998, allocations: 2.735 MB / 1.266 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/1.003, allocations: 1.038 MB / 1.267 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/1.004, allocations: 0.6062 MB / 1.268 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003777/1.007, allocations: 1.359 MB / 1.269 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 4.157e-06/1.007, allocations: 3.938 kB / 1.269 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01177/1.019, allocations: 3.383 MB / 1.272 GB, free: 108 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/1.019, allocations: 197.2 kB / 1.272 GB, free: 15.87 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/1.021, allocations: 0.7707 MB / 1.273 GB, free: 15.08 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003017/1.021, allocations: 45.7 kB / 1.273 GB, free: 15.03 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/1.021, allocations: 488.7 kB / 1.274 GB, free: 14.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/1.022, allocations: 445.7 kB / 1.274 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006034/1.023, allocations: 246.8 kB / 1.274 GB, free: 13.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.023, allocations: 349.9 kB / 1.275 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/1.026, allocations: 0.9431 MB / 1.276 GB, free: 12.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/1.03, allocations: 1.089 MB / 1.277 GB, free: 11.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007038/1.037, allocations: 1.911 MB / 1.278 GB, free: 9.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.037, allocations: 0 / 1.278 GB, free: 9.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008628/1.046, allocations: 2.268 MB / 1.281 GB, free: 7.238 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.046, allocations: 16.05 kB / 1.281 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.046, allocations: 0 / 1.281 GB, free: 7.223 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/1.047, allocations: 84.72 kB / 1.281 GB, free: 7.137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/1.049, allocations: 419.3 kB / 1.281 GB, free: 6.727 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/1.052, allocations: 1.642 MB / 1.283 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/1.054, allocations: 283.2 kB / 1.283 GB, free: 4.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/1.054, allocations: 63.94 kB / 1.283 GB, free: 4.602 MB / 1.014 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.0009813/1.055, allocations: 327.6 kB / 1.283 GB, free: 4.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000473/1.056, allocations: 110.6 kB / 1.284 GB, free: 4.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009846/1.066, allocations: 2.719 MB / 1.286 GB, free: 1.426 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.655e-05/1.066, allocations: 16 kB / 1.286 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.066, allocations: 0 / 1.286 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/1.066, allocations: 7.969 kB / 1.286 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/1.079, allocations: 4.319 MB / 1.29 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.079, allocations: 0 / 1.29 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/1.082, allocations: 411.4 kB / 1.291 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005216/1.082, allocations: 76.72 kB / 1.291 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002839/1.082, allocations: 51.94 kB / 1.291 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/1.085, allocations: 1.67 MB / 1.293 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.085, allocations: 0 / 1.293 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009174/1.094, allocations: 2.493 MB / 1.295 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.095, allocations: 431.1 kB / 1.295 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004424/1.096, allocations: 35.92 kB / 1.295 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.098, allocations: 225.4 kB / 1.296 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/1.099, allocations: 105.1 kB / 1.296 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002978/1.099, allocations: 67.94 kB / 1.296 GB, free: 7.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001021/1.1, allocations: 0.5576 MB / 1.296 GB, free: 6.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/1.1, allocations: 0 / 1.296 GB, free: 6.734 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001646/1.102, allocations: 475 kB / 1.297 GB, free: 6.27 MB / 1.029 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.01019/1.112, allocations: 3.593 MB / 1.3 GB, free: 2.832 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.008281/1.12, allocations: 2.317 MB / 1.303 GB, free: 0.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.12, allocations: 0 / 1.303 GB, free: 0.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004139/1.124, allocations: 1.314 MB / 1.304 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.126, allocations: 326.6 kB / 1.304 GB, free: 14.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/1.158, allocations: 12.1 MB / 1.316 GB, free: 2.621 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009355/1.159, allocations: 1.164 MB / 1.317 GB, free: 1.426 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00182/1.161, allocations: 485 kB / 1.318 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.162, allocations: 0.5461 MB / 1.318 GB, free: 412 kB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/1.162, allocations: 0 / 1.318 GB, free: 412 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0904/1.253, allocations: 31.76 MB / 1.349 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.88, allocations: 7.734 kB / 1.349 GB, free: 0.9336 MB / 1.076 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches