Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 497.2 MB / 0.7811 GB, free: 12.15 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 75.86 kB / 1.134 GB, free: 13.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8353, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005789/0.841, allocations: 5.867 MB / 1.31 GB, free: 27.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1701/1.011, allocations: 151.8 MB / 1.458 GB, free: 13.6 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/1.012, allocations: 21.5 kB / 1.458 GB, free: 13.59 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006061/1.013, allocations: 219 kB / 1.458 GB, free: 13.45 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/1.014, allocations: 0.6652 MB / 1.459 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/1.017, allocations: 0.9829 MB / 1.46 GB, free: 12.51 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002195/1.019, allocations: 1.899 MB / 1.462 GB, free: 11.56 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009094/1.02, allocations: 0.5312 MB / 1.462 GB, free: 11.23 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/1.021, allocations: 0.6778 MB / 1.463 GB, free: 10.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009716/1.022, allocations: 0.7451 MB / 1.464 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002229/1.022, allocations: 167.6 kB / 1.464 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/1.023, allocations: 0.643 MB / 1.464 GB, free: 10.36 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/1.024, allocations: 444.2 kB / 1.465 GB, free: 10.1 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008665/1.024, allocations: 0.7748 MB / 1.465 GB, free: 9.594 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/1.028, allocations: 2.211 MB / 1.468 GB, free: 8.672 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.028, allocations: 1.5 kB / 1.468 GB, free: 8.672 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.513e-06/1.028, allocations: 0 / 1.468 GB, free: 8.672 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.243e-05/1.028, allocations: 0 / 1.468 GB, free: 8.672 MB / 1.154 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.004133/1.032, allocations: 1.873 MB / 1.469 GB, free: 7.258 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.032, allocations: 9.5 kB / 1.469 GB, free: 7.258 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/1.032, allocations: 185 kB / 1.47 GB, free: 7.109 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009098/1.041, allocations: 1.292 MB / 1.471 GB, free: 6.484 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/1.044, allocations: 0.9826 MB / 1.472 GB, free: 5.707 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/1.044, allocations: 88.83 kB / 1.472 GB, free: 5.668 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/1.044, allocations: 119.4 kB / 1.472 GB, free: 5.629 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005176/1.049, allocations: 2.042 MB / 1.474 GB, free: 4.383 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/1.049, allocations: 1.062 kB / 1.474 GB, free: 4.383 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/1.049, allocations: 47.59 kB / 1.474 GB, free: 4.348 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/1.049, allocations: 30.41 kB / 1.474 GB, free: 4.348 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/1.057, allocations: 2.759 MB / 1.477 GB, free: 2.992 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009784/1.067, allocations: 4.816 MB / 1.482 GB, free: 15.33 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007772/1.074, allocations: 2.644 MB / 1.484 GB, free: 13.93 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/1.077, allocations: 1.005 MB / 1.485 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008376/1.078, allocations: 0.6085 MB / 1.486 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004394/1.083, allocations: 1.357 MB / 1.487 GB, free: 11.63 MB / 1.17 GB Notification: Performance of pre-optimization done (n=132): time 2.755e-06/1.083, allocations: 0 / 1.487 GB, free: 11.63 MB / 1.17 GB Notification: Performance of matching and sorting (n=132): time 0.01093/1.093, allocations: 3.387 MB / 1.49 GB, free: 8.219 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/1.094, allocations: 197.2 kB / 1.491 GB, free: 7.98 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.095, allocations: 0.7746 MB / 1.491 GB, free: 7.195 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/1.095, allocations: 49.7 kB / 1.491 GB, free: 7.141 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/1.095, allocations: 489.7 kB / 1.492 GB, free: 6.656 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/1.096, allocations: 456.1 kB / 1.492 GB, free: 6.207 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/1.096, allocations: 250.8 kB / 1.492 GB, free: 5.957 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.097, allocations: 353.9 kB / 1.493 GB, free: 5.605 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003009/1.1, allocations: 0.9392 MB / 1.494 GB, free: 4.664 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/1.103, allocations: 1.1 MB / 1.495 GB, free: 3.531 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005739/1.108, allocations: 1.895 MB / 1.497 GB, free: 1.617 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.108, allocations: 0 / 1.497 GB, free: 1.617 MB / 1.17 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007182/1.116, allocations: 2.284 MB / 1.499 GB, free: 15.32 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.116, allocations: 4 kB / 1.499 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.116, allocations: 0 / 1.499 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/1.116, allocations: 88.83 kB / 1.499 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/1.119, allocations: 415.3 kB / 1.499 GB, free: 14.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/1.121, allocations: 1.65 MB / 1.501 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/1.123, allocations: 283.2 kB / 1.501 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/1.123, allocations: 59.92 kB / 1.501 GB, free: 12.69 MB / 1.186 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.000754/1.124, allocations: 335.2 kB / 1.502 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/1.124, allocations: 119.2 kB / 1.502 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007918/1.132, allocations: 2.715 MB / 1.504 GB, free: 9.508 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/1.132, allocations: 16 kB / 1.504 GB, free: 9.492 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.132, allocations: 0 / 1.504 GB, free: 9.492 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/1.132, allocations: 7.969 kB / 1.504 GB, free: 9.484 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/1.143, allocations: 4.311 MB / 1.509 GB, free: 5.109 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.143, allocations: 0 / 1.509 GB, free: 5.109 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/1.145, allocations: 419.3 kB / 1.509 GB, free: 4.699 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/1.145, allocations: 68.78 kB / 1.509 GB, free: 4.629 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/1.145, allocations: 59.81 kB / 1.509 GB, free: 4.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.148, allocations: 1.67 MB / 1.511 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.148, allocations: 0 / 1.511 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007383/1.155, allocations: 2.494 MB / 1.513 GB, free: 240 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.156, allocations: 435.9 kB / 1.514 GB, free: 15.79 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/1.156, allocations: 35.94 kB / 1.514 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/1.158, allocations: 223.8 kB / 1.514 GB, free: 15.53 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/1.158, allocations: 113.1 kB / 1.514 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.159, allocations: 63.94 kB / 1.514 GB, free: 15.36 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008017/1.159, allocations: 0.5536 MB / 1.515 GB, free: 14.81 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.159, allocations: 0 / 1.515 GB, free: 14.81 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001425/1.161, allocations: 0.4911 MB / 1.515 GB, free: 14.32 MB / 1.201 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.009437/1.17, allocations: 3.587 MB / 1.519 GB, free: 10.89 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006832/1.177, allocations: 2.27 MB / 1.521 GB, free: 8.605 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.177, allocations: 0 / 1.521 GB, free: 8.605 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003561/1.181, allocations: 1.259 MB / 1.522 GB, free: 7.332 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.182, allocations: 343.7 kB / 1.522 GB, free: 7.016 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/1.212, allocations: 12.04 MB / 1.534 GB, free: 10.82 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009133/1.213, allocations: 1.168 MB / 1.535 GB, free: 9.625 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001775/1.215, allocations: 473.2 kB / 1.536 GB, free: 9.16 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.216, allocations: 0.5499 MB / 1.536 GB, free: 8.613 MB / 1.217 GB Notification: Performance of SimCode: time 1.232e-06/1.216, allocations: 0 / 1.536 GB, free: 8.613 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07225/1.288, allocations: 31.82 MB / 1.567 GB, free: 9.078 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.68, allocations: 11.78 kB / 1.567 GB, free: 9.07 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.964101103134453]